diff options
author | Ben Wilhelm <bencwilhelm@gmail.com> | 2012-05-10 11:15:32 -0700 |
---|---|---|
committer | Ben Wilhelm <bencwilhelm@gmail.com> | 2012-05-10 11:15:32 -0700 |
commit | c8f5a216df7d14463027425b53968d7f7023bf85 (patch) | |
tree | 78a740d197f75ced2ab332083f45cefa925297e7 /guides | |
parent | 6cbe8dab1e64d42eb376137366b48f1e20f9ddb9 (diff) | |
download | rails-c8f5a216df7d14463027425b53968d7f7023bf85.tar.gz rails-c8f5a216df7d14463027425b53968d7f7023bf85.tar.bz2 rails-c8f5a216df7d14463027425b53968d7f7023bf85.zip |
Modified template in sample is new.html.erb, not index.html.erb
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 947abd7ba0..1e9bd1f144 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -717,7 +717,7 @@ If you reload try to save a post without a title, Rails will send you back to the form, but that's not very useful. You need to tell the user that something went wrong. To do that, you'll modify -+app/views/posts/index.html.erb+ to check for error messages: ++app/views/posts/new.html.erb+ to check for error messages: <erb> <%= form_for :post, :url => { :action => :create } do |f| %> |