File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Resource < JSONAPI::Deserializable::Resource
2020 end
2121 end
2222
23- module ActionController
23+ module Controller
2424 extend ActiveSupport ::Concern
2525
2626 JSONAPI_POINTERS_KEY = 'jsonapi_deserializable.jsonapi_pointers' . freeze
Original file line number Diff line number Diff line change 44
55require 'jsonapi/rails/parser'
66require 'jsonapi/rails/renderer'
7+ require 'jsonapi/rails/controller'
78
89module JSONAPI
910 module Rails
@@ -16,8 +17,7 @@ class Railtie < ::Rails::Railtie
1617
1718 initializer 'jsonapi-rails.action_controller' do
1819 ActiveSupport . on_load ( :action_controller ) do
19- require 'jsonapi/rails/action_controller'
20- include ::JSONAPI ::Rails ::ActionController
20+ include ::JSONAPI ::Rails ::Controller
2121
2222 Mime ::Type . register MEDIA_TYPE , :jsonapi
2323
You can’t perform that action at this time.
0 commit comments