diff options
-rw-r--r-- | actionpack/lib/action_controller/filters.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/filters.rb b/actionpack/lib/action_controller/filters.rb index 58868a8371..9569672bee 100644 --- a/actionpack/lib/action_controller/filters.rb +++ b/actionpack/lib/action_controller/filters.rb @@ -425,11 +425,11 @@ module ActionController #:nodoc: private def build_excluded_actions_hash @excluded_actions_hash = - if @included_actions - @included_actions.inject(Hash.new(true)){|h, a| h[a] = false; h} - else - @excluded_actions.inject(Hash.new(false)){|h, a| h[a] = true; h} - end + if @included_actions + @included_actions.inject(Hash.new(true)){|h, a| h[a] = false; h} + else + @excluded_actions.inject(Hash.new(false)){|h, a| h[a] = true; h} + end end end |