Skip to content
Browse files

Merge pull request #1737 from SAP-Oxygen/master-app_plugins_ordering_…

…patch

Patch for [3.1.0.rc1] App plugins initialized before engines and plugins inside engines
  • Loading branch information...
2 parents be99ae7 + 29dfe05 commit a788d4e6e9c2dd40db4d3bebf40703da6deeb6e7 @josevalim josevalim committed Jun 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/application/railties.rb
View
2 railties/lib/rails/application/railties.rb
@@ -4,7 +4,7 @@ module Rails
class Application < Engine
class Railties < Rails::Engine::Railties
def all(&block)
- @all ||= railties + engines + super
+ @all ||= railties + engines + plugins
@all.each(&block) if block
@all
end

0 comments on commit a788d4e

Please sign in to comment.
Something went wrong with that request. Please try again.