lib/jbuilder/railtie.rb in jbuilder-2.2.16 vs lib/jbuilder/railtie.rb in jbuilder-2.3.0
- old
+ new
@@ -10,9 +10,11 @@
end
if app.config.respond_to?(:api_only) && app.config.api_only
ActiveSupport.on_load :action_controller do
include ActionView::Rendering
+ include ActionController::Helpers
+ include ActionController::ImplicitRender
end
end
end
if Rails::VERSION::MAJOR >= 4