mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Allow other resource overrides
This commit is contained in:
parent
00194ec0e4
commit
615afd125c
@ -1,5 +1,5 @@
|
||||
module ActiveModel
|
||||
class Serializer
|
||||
VERSION = "0.5.1"
|
||||
VERSION = "0.5.2"
|
||||
end
|
||||
end
|
||||
|
||||
@ -11,6 +11,7 @@ if defined?(Rails)
|
||||
app ||= Rails.application # Rails 3.0.x does not yield `app`
|
||||
|
||||
Rails::Generators.configure!(app.config.generators)
|
||||
Rails::Generators.hidden_namespaces.uniq!
|
||||
require "generators/resource_override"
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user