Skip to content

Commit

Permalink
Fix to ModelRouter that was preventing any routes from loading
Browse files Browse the repository at this point in the history
  • Loading branch information
tslocke committed May 19, 2008
1 parent 3950abe commit 5f28ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/hobo/model_router.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class ActionController::Routing::RouteSet
def reload_with_hobo_assemble
if defined? ::ApplicationController
load "#{RAILS_ROOT}/app/assemble.rb" if File.exists? "#{RAILS_ROOT}/app/assemble.rb"
reload_without_hobo_assemble
end
reload_without_hobo_assemble
end
alias_method_chain :reload, :hobo_assemble

Expand Down

0 comments on commit 5f28ee0

Please sign in to comment.