Skip to content

Commit f422d93

Browse files
authored
Change load to mitigate load changes causing NameError
coderdojo-japan/coderdojo.jp#1631 (comment) issue
1 parent d0f4ebc commit f422d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rambulance/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Rambulance
22
class Railtie < Rails::Railtie
3-
initializer 'rambulance', after: :prepend_helpers_path do |app|
3+
initializer 'rambulance', after: :setup_main_autoloader do |app|
44
ActiveSupport.on_load(:action_controller) do
55
require "rambulance/exceptions_app"
66
end

0 commit comments

Comments
 (0)