1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Useless assignation

This commit is contained in:
Santiago Pastorino 2010-11-18 23:20:54 -02:00
parent d891ad4e92
commit b1ffd65b8f

View file

@ -138,7 +138,7 @@ module AbstractController
case action case action
when NilClass when NilClass
when Hash when Hash
options, action = action, nil options = action
when String, Symbol when String, Symbol
action = action.to_s action = action.to_s
key = action.include?(?/) ? :file : :action key = action.include?(?/) ? :file : :action