summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/index.rhtml2
-rw-r--r--app/views/news/show.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml
index 354467229..b958c475e 100644
--- a/app/views/news/index.rhtml
+++ b/app/views/news/index.rhtml
@@ -33,4 +33,4 @@
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>
-<% set_html_title l(:label_news_plural) -%>
+<% html_title(l(:label_news_plural)) -%>
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index 2b71c48ad..e0cd09990 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -43,4 +43,4 @@
<% end %>
<% end %>
-<% set_html_title(h(@news.title)) -%>
+<% html_title @news.title -%>