mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Fix the build
This commit is contained in:
parent
5f4f6a3483
commit
c6b1cea4bc
@ -30,7 +30,7 @@ module Rails
|
||||
# Only works on 3.2
|
||||
# elsif (n = Rails::Generators.namespace) && n.const_defined?(:ApplicationSerializer)
|
||||
# "ApplicationSerializer"
|
||||
elsif defined?(:ApplicationSerializer)
|
||||
elsif defined?(::ApplicationSerializer)
|
||||
"ApplicationSerializer"
|
||||
else
|
||||
"ActiveModel::Serializer"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user