Mercurial > zeropaste
changeset 98:58aa32120b54
Added paste id to title.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 12 Nov 2012 09:38:02 +0700 |
parents | e8a0e82213cd |
children | e0e99705e79d |
files | app/views/pastes/show.html.erb |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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>