mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Move SerializableResource to ActiveModelSerializers namespace
Ref. https://github.com/rails-api/active_model_serializers/pull/1310
This commit is contained in:
@@ -32,7 +32,7 @@ module ActiveModelSerializers
|
||||
|
||||
def load_adapter(paginated_collection, options = {})
|
||||
options = options.merge(adapter: :json_api)
|
||||
ActiveModel::SerializableResource.new(paginated_collection, options)
|
||||
ActiveModelSerializers::SerializableResource.new(paginated_collection, options)
|
||||
end
|
||||
|
||||
def using_kaminari(page = 2)
|
||||
|
||||
Reference in New Issue
Block a user