Add an RSS autodiscovery tag to wiki pages. #168
Contributed by Yuki Sonoda.
This commit is contained in:
parent
565e738dc9
commit
e19c7ac227
|
@ -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 %>
|
||||||
|
|
Loading…
Reference in New Issue