diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-07 20:52:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-07 20:52:45 +0000 |
commit | 7e4611ad318092457a16e5197957f3e77d0dc337 (patch) | |
tree | cd9f83f173dce14a62dd88dbc9fb29c63b798937 /app/views/layouts | |
parent | fdf842a4c458b9f40c233bda221ff241df8eb108 (diff) | |
download | redmine-7e4611ad318092457a16e5197957f3e77d0dc337.tar.gz redmine-7e4611ad318092457a16e5197957f3e77d0dc337.zip |
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
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/base.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index acce89d44..eae5cf570 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> -<title><%= Setting.app_title + (@html_title ? ": #{@html_title}" : "") %></title> +<title><%=h html_title %></title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="<%= Redmine::Info.app_name %>" /> <meta name="keywords" content="issue,bug,tracker" /> |