Merged updates from trunk into stable branch
[feedcatcher.git] / vendor / rails / actionpack / lib / action_controller / reloader.rb
1 module ActionController
2 class Reloader
3 def initialize(app)
4 @app = app
5 end
6
7 def call(env)
8 Dispatcher.reload_application
9 @app.call(env)
10 ensure
11 Dispatcher.cleanup_application
12 end
13 end
14 end