Merge pull request #2008 from kirs/patch-2

Fix warning on Thor
This commit is contained in:
Rafael França 2016-12-19 13:54:55 -05:00 committed by GitHub
commit 4432257cb8

View File

@ -7,7 +7,7 @@ module Rails
if Rails::VERSION::MAJOR >= 4
source_root File.expand_path('../templates', __FILE__)
hook_for :serializer, default: true
hook_for :serializer, default: true, type: :boolean
end
end
end