diff options
Diffstat (limited to 'guides/code/getting_started/app/views/posts/new.html.erb')
-rw-r--r-- | guides/code/getting_started/app/views/posts/new.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/code/getting_started/app/views/posts/new.html.erb b/guides/code/getting_started/app/views/posts/new.html.erb index ce9523a721..efa81038ec 100644 --- a/guides/code/getting_started/app/views/posts/new.html.erb +++ b/guides/code/getting_started/app/views/posts/new.html.erb @@ -1,5 +1,5 @@ <h1>New post</h1> - + <%= render 'form' %> - -<%= link_to 'Back', :action => :index %> + +<%= link_to 'Back', action: :index %> |