diff options
author | Xavier Noria <fxn@hashref.com> | 2012-03-17 08:32:49 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-03-17 08:32:49 -0700 |
commit | 6d87cd028b32570973450424db164e5405a0ee13 (patch) | |
tree | 38008699f54532c6ba446ec806ccc33ad26b10fd /railties/guides/code/getting_started/app/views/posts/index.html.erb | |
parent | 9d06b49913dd2a2254d87c7af1af9f1e4d7f64ec (diff) | |
download | rails-6d87cd028b32570973450424db164e5405a0ee13.tar.gz rails-6d87cd028b32570973450424db164e5405a0ee13.tar.bz2 rails-6d87cd028b32570973450424db164e5405a0ee13.zip |
moves the guides up to the root directory
Diffstat (limited to 'railties/guides/code/getting_started/app/views/posts/index.html.erb')
-rw-r--r-- | railties/guides/code/getting_started/app/views/posts/index.html.erb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/railties/guides/code/getting_started/app/views/posts/index.html.erb b/railties/guides/code/getting_started/app/views/posts/index.html.erb deleted file mode 100644 index 45dee1b25f..0000000000 --- a/railties/guides/code/getting_started/app/views/posts/index.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -<h1>Listing posts</h1> - -<table> - <tr> - <th>Name</th> - <th>Title</th> - <th>Content</th> - <th></th> - <th></th> - <th></th> - </tr> - -<% @posts.each do |post| %> - <tr> - <td><%= post.name %></td> - <td><%= post.title %></td> - <td><%= post.content %></td> - <td><%= link_to 'Show', post %></td> - <td><%= link_to 'Edit', edit_post_path(post) %></td> - <td><%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %></td> - </tr> -<% end %> -</table> - -<br /> - -<%= link_to 'New Post', new_post_path %> |