diff options
| author | mo khan <mo@mokhan.ca> | 2013-05-21 22:52:26 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-05-21 22:52:26 -0600 |
| commit | 6a975f0b8a678304181a83779f716539a2a67d36 (patch) | |
| tree | 059008770c9c9516c0721d728bfaa6d9f986c8b6 | |
| parent | 68aa5567faf71cb9f54fc54c684c28cf7227df19 (diff) | |
register multiple interceptors using latest version of spank
| -rw-r--r-- | Gemfile.lock | 2 | ||||
| -rw-r--r-- | lib/boot/routes.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 272af64..d5c59ce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,7 +57,7 @@ GEM multi_json (~> 1.0) simplecov-html (~> 0.7.1) simplecov-html (0.7.1) - spank (0.0.1) + spank (0.0.1369197619) unicorn (4.6.2) kgio (~> 2.6) rack diff --git a/lib/boot/routes.rb b/lib/boot/routes.rb index 64ce366..027c5f4 100644 --- a/lib/boot/routes.rb +++ b/lib/boot/routes.rb @@ -26,7 +26,7 @@ module Booty def route_to(command, interceptors = []) proxy = Spank::Proxy.new(Route.new(command, @container)) proxy.add_interceptor(:run, @container.resolve(:unit_of_work_interceptor)) - #interceptors.each { |x| proxy.add_interceptor(:run, x) } + interceptors.each { |x| proxy.add_interceptor(:run, x) } proxy end end |
