mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
tests for namespaced controlleler
This commit is contained in:
9
test/fixtures/poro.rb
vendored
9
test/fixtures/poro.rb
vendored
@@ -73,3 +73,12 @@ end
|
||||
class WebLogLowerCamelSerializer < WebLogSerializer
|
||||
format_keys :lower_camel
|
||||
end
|
||||
|
||||
class ShortUserSerializer < ActiveModel::Serializer
|
||||
attributes :name
|
||||
end
|
||||
|
||||
module TestNamespace
|
||||
class ProfileSerializer < ::ProfileSerializer; end
|
||||
class UserSerializer < ::UserSerializer; end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user