diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md index a72f54a1b8..d4415d9b76 100644 --- a/guides/source/debugging_rails_applications.md +++ b/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