mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use the more compact syntax in the example
This commit is contained in:
parent
25648ce35b
commit
a84dd201c3
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class ClientsController < ActionController::Base
|
||||||
else
|
else
|
||||||
# This line overrides the default rendering behavior, which
|
# This line overrides the default rendering behavior, which
|
||||||
# would have been to render the "create" view.
|
# would have been to render the "create" view.
|
||||||
render action: "new"
|
render "new"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue