Permalink
Browse files

Switch to 1.9 hash syntax

  • Loading branch information...
agis committed Nov 15, 2012
1 parent 5e32350 commit fe4456505b8f44e9cb29bf9c7626ec8c97cf2760
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/debugging_rails_applications.md
@@ -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

0 comments on commit fe44565

Please sign in to comment.