diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-28 17:36:03 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-28 17:42:48 -0800 |
commit | dd6488de51461ff660f49110bec091317efaca08 (patch) | |
tree | 7874f26274c988d950de7d9558eb520e864f1c46 /actionpack/lib | |
parent | f912eed40a6f2360ce64bdfd6d564b6f70e4c85e (diff) | |
download | rails-dd6488de51461ff660f49110bec091317efaca08.tar.gz rails-dd6488de51461ff660f49110bec091317efaca08.tar.bz2 rails-dd6488de51461ff660f49110bec091317efaca08.zip |
scope is not necessary
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/reloader.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/reloader.rb b/actionpack/lib/action_dispatch/middleware/reloader.rb index 2f6968eb2e..432a072b1b 100644 --- a/actionpack/lib/action_dispatch/middleware/reloader.rb +++ b/actionpack/lib/action_dispatch/middleware/reloader.rb @@ -26,8 +26,8 @@ module ActionDispatch class Reloader include ActiveSupport::Callbacks - define_callbacks :prepare, :scope => :name - define_callbacks :cleanup, :scope => :name + define_callbacks :prepare + define_callbacks :cleanup # Add a prepare callback. Prepare callbacks are run before each request, prior # to ActionDispatch::Callback's before callbacks. |