Mercurial > zeropaste
changeset 15:df9cf72a5dcf
Removed unused views.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 26 Aug 2012 19:48:56 -0700 |
parents | 5a21bc200a53 |
children | 0d68bfd35971 |
files | app/views/pastes/edit.html.erb app/views/pastes/index.html.erb |
diffstat | 2 files changed, 0 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/pastes/edit.html.erb Sun Aug 26 19:48:37 2012 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -<h1>Editing paste</h1> - -<%= render 'form' %> - -<%= link_to 'Show', @paste %> | -<%= link_to 'Back', pastes_path %>
--- a/app/views/pastes/index.html.erb Sun Aug 26 19:48:37 2012 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -<h1>Listing pastes</h1> - -<table> - <tr> - <th>Id</th> - <th>Paste</th> - <th></th> - <th></th> - </tr> - -<% @pastes.each do |paste| %> - <tr> - <td><%= link_to paste.id, paste %></td> - <td><%= paste.paste %></td> - <td><%= link_to 'Edit', edit_paste_path(paste) %></td> - <td><%= link_to 'Destroy', paste, :method => :delete, :data => { :confirm => 'Are you sure?' } %></td> - </tr> -<% end %> -</table> - -<br /> - -<%= link_to 'New Paste', new_paste_path %>