Permalink
Browse files

resolving memory leak.

  • Loading branch information...
saulolso committed Aug 2, 2011
1 parent e215cde commit 958d23636059f4e14337d7c1dcc98a0b516a5742
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/active_admin/reloader.rb
@@ -12,10 +12,10 @@ def initialize(rails_version)
# Attach to Rails and perform the reload on each request.
def attach!
- #reloader_class.to_prepare do
- # ActiveAdmin.application.unload!
- # Rails.application.reload_routes!
- #end
+ reloader_class.to_prepare do
+ ActiveAdmin.application.unload!
+ Rails.application.reload_routes!
+ end
end
def reloader_class

0 comments on commit 958d236

Please sign in to comment.