Merge pull request #78 from tomkersten/488_wiki_show_format_hook

Added view hook for additional wiki formats [refs #488]
This commit is contained in:
Felix Schäfer 2011-06-22 13:51:10 -07:00
commit 308852e21c
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@
<%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %>
<%= f.link_to 'HTML', :url => {:id => @page.title, :version => @content.version} %>
<%= f.link_to 'TXT', :url => {:id => @page.title, :version => @content.version} %>
<%= call_hook(:view_wiki_show_other_formats, {:link_builder => f, :url_params => {:id => @page.title, :version => @content.version}}) %>
<% end if User.current.allowed_to?(:export_wiki_pages, @project) %>
<% content_for :header_tags do %>