File tree 2 files changed +3
-3
lines changed
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
20
20
end
21
21
end
22
22
23
- module ActionController
23
+ module Controller
24
24
extend ActiveSupport ::Concern
25
25
26
26
JSONAPI_POINTERS_KEY = 'jsonapi_deserializable.jsonapi_pointers' . freeze
Original file line number Diff line number Diff line change 2
2
require 'action_controller'
3
3
require 'active_support'
4
4
5
+ require 'jsonapi/rails/controller'
5
6
require 'jsonapi/rails/parser'
6
7
require 'jsonapi/rails/renderer'
7
8
@@ -16,8 +17,7 @@ class Railtie < ::Rails::Railtie
16
17
17
18
initializer 'jsonapi-rails.action_controller' do
18
19
ActiveSupport . on_load ( :action_controller ) do
19
- require 'jsonapi/rails/action_controller'
20
- include ::JSONAPI ::Rails ::ActionController
20
+ include ::JSONAPI ::Rails ::Controller
21
21
22
22
Mime ::Type . register MEDIA_TYPE , :jsonapi
23
23
You can’t perform that action at this time.
0 commit comments