We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc6490 commit 26b32ccCopy full SHA for 26b32cc
lib/jbuilder/railtie.rb
@@ -10,8 +10,13 @@ class Railtie < ::Rails::Railtie
10
end
11
12
if app.config.respond_to?(:api_only) && app.config.api_only
13
+ module ::ActionController
14
+ module ApiRendering
15
+ include ActionView::Rendering
16
+ end
17
18
+
19
ActiveSupport.on_load :action_controller do
- include ActionView::Rendering
20
include ActionController::Helpers
21
include ActionController::ImplicitRender
22
0 commit comments