Switch to 1.9 hash syntax
This commit is contained in:
parent
5e323506b5
commit
fe4456505b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue