diff options
author | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2012-11-15 13:24:36 +0200 |
---|---|---|
committer | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2012-11-15 13:24:36 +0200 |
commit | a84dd201c3b24262bc892bd6bb6d1deed01448fa (patch) | |
tree | e1da40da0fbe4504fff62db37ff65c274fd13fb1 /guides/source | |
parent | 25648ce35b9d8df9fac81c1d53c45aaeef08fde9 (diff) | |
download | rails-a84dd201c3b24262bc892bd6bb6d1deed01448fa.tar.gz rails-a84dd201c3b24262bc892bd6bb6d1deed01448fa.tar.bz2 rails-a84dd201c3b24262bc892bd6bb6d1deed01448fa.zip |
Use the more compact syntax in the example
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/action_controller_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md index d2c7e6a408..99c139f351 100644 --- a/guides/source/action_controller_overview.md +++ b/guides/source/action_controller_overview.md @@ -81,7 +81,7 @@ class ClientsController < ActionController::Base else # This line overrides the default rendering behavior, which # would have been to render the "create" view. - render action: "new" + render "new" end end end |