mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 23:06:50 +00:00
commit
4432257cb8
@ -7,7 +7,7 @@ module Rails
|
|||||||
if Rails::VERSION::MAJOR >= 4
|
if Rails::VERSION::MAJOR >= 4
|
||||||
source_root File.expand_path('../templates', __FILE__)
|
source_root File.expand_path('../templates', __FILE__)
|
||||||
|
|
||||||
hook_for :serializer, default: true
|
hook_for :serializer, default: true, type: :boolean
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user