mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Useless assignation
This commit is contained in:
parent
d891ad4e92
commit
b1ffd65b8f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue