diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/railtie.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/railtie.rb b/actionpack/lib/action_controller/railtie.rb index 4c57d82f1c..0ade42ba2d 100644 --- a/actionpack/lib/action_controller/railtie.rb +++ b/actionpack/lib/action_controller/railtie.rb @@ -38,9 +38,9 @@ module ActionController end end - config.after_initialize do + initializer "action_controller.compile_config_methods" do ActiveSupport.on_load(:action_controller) do - config.crystalize! if config.respond_to?(:crystalize!) + config.compile_methods! if config.respond_to?(:compile_methods!) end end end |