Skip to content

Commit 173d326

Browse files
committed
Don't load Lines::ApplicationHelper for API controllers
1 parent a3ce1b1 commit 173d326

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.ruby-gemset

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lines-engine

lib/lines/engine.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Engine < ::Rails::Engine
2929
end
3030

3131
initializer 'lines.action_controller' do |app|
32-
ActiveSupport.on_load :action_controller do
32+
ActiveSupport.on_load :action_controller_base do
3333
helper Lines::ApplicationHelper
3434
end
3535
end

0 commit comments

Comments
 (0)