mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Don't require current_user
This commit is contained in:
@@ -33,7 +33,7 @@ module ActionController
|
||||
end
|
||||
|
||||
def serialization_scope
|
||||
send(_serialization_scope)
|
||||
send(_serialization_scope) if respond_to?(_serialization_scope)
|
||||
end
|
||||
|
||||
def default_serializer_options
|
||||
|
||||
Reference in New Issue
Block a user