Mercurial > zeropaste
diff app/views/pastes/show.html.erb @ 98:58aa32120b54
Added paste id to title.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 12 Nov 2012 09:38:02 +0700 |
parents | d100218b96c9 |
children | 90b59418828a |
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb Mon Nov 12 09:35:55 2012 +0700 +++ b/app/views/pastes/show.html.erb Mon Nov 12 09:38:02 2012 +0700 @@ -1,7 +1,7 @@ -<% provide :title, 'Show' %> +<% provide :title, "Paste ##{@paste.id}" %> <% @skip_csrf = true %> <div class="page-header"> - <h1>Paste</h1> + <h1><%= content_for :title %></h1> </div> <pre class="prettyprint linenums"><%= @paste.paste.gsub(/^$/, ' ') %></pre>