Switch to 1.9 hash syntax

This commit is contained in:
Agis Anastasopoulos 2012-11-15 23:54:33 +02:00
parent 5e323506b5
commit fe4456505b
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class PostsController < ApplicationController
logger.debug "The post was saved and now the user is going to be redirected..."
redirect_to(@post)
else
render :action => "new"
render action: "new"
end
end