diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-29 15:23:56 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-07-29 15:23:56 +0100 |
commit | faa8c8ed4a3de3ad5b41dc63a2d32dd4c92a444e (patch) | |
tree | 167b6361730749ecf1326de0498fef86fc18a22a | |
parent | d945891c8e13b489f9c9dc6af583e0b4ead7ea0d (diff) |
Include public body name in page title for SEO reasons. Closes #98.
-rw-r--r-- | app/views/request/show.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml index 7c3f79368..1993ee6b2 100644 --- a/app/views/request/show.rhtml +++ b/app/views/request/show.rhtml @@ -1,4 +1,4 @@ -<% @title = h(@info_request.title) %> +<% @title = "#{h(@info_request.title)} - a Freedom of Information request to #{h(@info_request.public_body.name)}" %> <% if @info_request.prominence == 'hidden' %> <p id="hidden_request"> @@ -23,7 +23,7 @@ <%= render :partial => 'sidebar' %> <div id="request_main"> - <h1><%=@title%></h1> + <h1><%=h(@info_request.title)%></h1> <% if @info_request.user.profile_photo %> <p class="user_photo_on_request"> |