From 7e4611ad318092457a16e5197957f3e77d0dc337 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 7 Sep 2007 20:52:45 +0000 Subject: Removed @html_title assignments in controllers. Views can now set the header title using set_htmh_title(title) method. git-svn-id: http://redmine.rubyforge.org/svn/trunk@715 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/edit.rhtml | 2 ++ app/views/wiki/show.rhtml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'app/views/wiki') diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 7579527c8..8ebd98693 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -31,3 +31,5 @@ <% content_for :header_tags do %> <%= stylesheet_link_tag 'scm' %> <% end %> + +<% set_html_title @page.pretty_title %> diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 31c4b60ce..4041ec018 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -41,3 +41,5 @@ <% content_for :header_tags do %> <%= stylesheet_link_tag 'scm' %> <% end %> + +<% set_html_title @page.pretty_title %> -- cgit v1.2.3