mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Allow other resource overrides
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user