Add an RSS autodiscovery tag to wiki pages. #168

Contributed by Yuki Sonoda.
This commit is contained in:
Felix Schäfer 2011-02-11 09:01:36 +01:00
parent 565e738dc9
commit e19c7ac227
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %> <%= stylesheet_link_tag 'scm' %>
<%= auto_discovery_link_tag(:atom, :format => :atom,
:controller => 'projects', :action => 'activity', :project_id => @project,
:year => nil, :month => nil, :show_wiki_pages => 1, :key => User.current.rss_key) %>
<% end %> <% end %>
<% content_for :sidebar do %> <% content_for :sidebar do %>