Mercurial > zeropaste
comparison app/views/pastes/show.html.erb @ 257:2d5c09a73958
Rely on implicit to_param.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 15 Oct 2013 18:02:25 +0900 |
parents | e413246bb589 |
children | f057e8c78e50 |
comparison
equal
deleted
inserted
replaced
256:0b5f83d99c54 | 257:2d5c09a73958 |
---|---|
51 </div> | 51 </div> |
52 | 52 |
53 <div> | 53 <div> |
54 <ul class="nav nav-pills"> | 54 <ul class="nav nav-pills"> |
55 <li><%= link_to 'Raw', paste_path(@paste, :txt) %></li> | 55 <li><%= link_to 'Raw', paste_path(@paste, :txt) %></li> |
56 <li><%= link_to 'New paste based on this', root_path(:base => @paste.to_param) %></li> | 56 <li><%= link_to 'New paste based on this', root_path(:base => @paste) %></li> |
57 <li><%= link_to 'More Paste', root_path %></li> | 57 <li><%= link_to 'More Paste', root_path %></li> |
58 </ul> | 58 </ul> |
59 </div> | 59 </div> |