Permalink
Browse files

Engine#routes? method has been fixed

  • Loading branch information...
romanvbabenko authored and drogus committed Apr 6, 2012
1 parent 28844ae commit d9239fd4c9e35f93e6594b1d95af85e772fc2b26
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/engine.rb
@@ -619,7 +619,7 @@ def initialize_generators
end
def routes?
- defined?(@routes)
+ defined?(@routes) && @routes
end
def has_migrations?

0 comments on commit d9239fd

Please sign in to comment.