Permalink
Browse files

Merge branch 'initializer'

  • Loading branch information...
2 parents 500c273 + 28e19e1 commit 95b1f7469a800354a524f0da32fe2c4f37867086 @weppos committed Mar 27, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/breadcrumbs_on_rails/railtie.rb
@@ -10,11 +10,10 @@ module BreadcrumbsOnRails
class Railtie < Rails::Railtie
initializer "breadcrumbs_on_rails.initialize" do
+ ActiveSupport.on_load(:action_controller) do
+ include BreadcrumbsOnRails::ActionController
+ end
end
end
end
-
-ActiveSupport.on_load(:action_controller) do
- include BreadcrumbsOnRails::ActionController
-end

0 comments on commit 95b1f74

Please sign in to comment.