# HG changeset patch # User Edho Arief # Date 1349291546 -25200 # Node ID ca7e3661cda0d676a066274121183de7aa224a38 # Parent a81fb558f954ec5e215d786f1fa82eaf6d3448bc Better styled show paste. diff -r a81fb558f954 -r ca7e3661cda0 app/views/pastes/show.html.erb --- a/app/views/pastes/show.html.erb Thu Oct 04 02:09:46 2012 +0700 +++ b/app/views/pastes/show.html.erb Thu Oct 04 02:12:26 2012 +0700 @@ -1,8 +1,11 @@ +<% provide :title, 'Show' %>

<%= notice %>

-

- Paste: +

Paste

<%= @paste.paste %>
-

-<%= link_to 'Raw', paste_path(@paste, :txt) %> | <%= link_to 'New paste based on this', root_path(:base => @paste.id) %> | <%= link_to 'More Paste', root_path %> +