Use the more compact syntax in the example

This commit is contained in:
Agis Anastasopoulos 2012-11-15 13:24:36 +02:00
parent 25648ce35b
commit a84dd201c3
1 changed files with 1 additions and 1 deletions

View File

@ -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