Permalink
Browse files

scope is not necessary

  • Loading branch information...
1 parent f912eed commit dd6488de51461ff660f49110bec091317efaca08 @tenderlove tenderlove committed Jan 29, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 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.

0 comments on commit dd6488d

Please sign in to comment.