diff options
Diffstat (limited to 'actionpack/lib/action_controller/scaffolding.rb')
-rw-r--r-- | actionpack/lib/action_controller/scaffolding.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/scaffolding.rb b/actionpack/lib/action_controller/scaffolding.rb index 3b612df357..8b5554c266 100644 --- a/actionpack/lib/action_controller/scaffolding.rb +++ b/actionpack/lib/action_controller/scaffolding.rb @@ -99,8 +99,8 @@ module ActionController module_eval <<-"end_eval", __FILE__, __LINE__ - verify :method=>:post, :only=>[:destroy#{suffix}, :create#{suffix}, :update#{suffix}], - :redirect_to=>{:action=>:list#{suffix}} + verify :method => :post, :only => [ :destroy#{suffix}, :create#{suffix}, :update#{suffix} ], + :redirect_to => { :action => :list#{suffix} } def list#{suffix} |