Permalink
Please sign in to comment.
Browse files
Remove hack and use unloadable to behave correctly in dev
- Loading branch information...
Showing
with
2 additions
and 5 deletions.
- +0 −5 init.rb
- +2 −0 lib/app/controllers/mockups_controller.rb
@@ -1,5 +0,0 @@ | ||
- | ||
-# Since MockupsController subclasses (and thus loads) ApplicationController, we need to make sure that | ||
-# it gets reloaded in development. Without this, things will break after the first reload. | ||
-ActiveSupport::Dependencies.autoload_once_paths.delete(File.expand_path(File.dirname(__FILE__))+'/app/controllers') | ||
- |
0 comments on commit
6fe3de4