diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-06 09:30:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-02-06 09:30:53 +0000 |
commit | 6c8b87fbc8a52b53a0adb53f072508ade7e2dca6 (patch) | |
tree | b64eefe5f3f112ed9f5867cb87af22b56f1bd919 /app/views/wiki/special_date_index.rhtml | |
parent | e5d300af0a4d6703b043c05d4178353e7e252bf2 (diff) | |
download | redmine-6c8b87fbc8a52b53a0adb53f072508ade7e2dca6.tar.gz redmine-6c8b87fbc8a52b53a0adb53f072508ade7e2dca6.zip |
Adds a permission for exporting wiki pages.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3371 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki/special_date_index.rhtml')
-rw-r--r-- | app/views/wiki/special_date_index.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/special_date_index.rhtml b/app/views/wiki/special_date_index.rhtml index 53b7124c1..228737a5e 100644 --- a/app/views/wiki/special_date_index.rhtml +++ b/app/views/wiki/special_date_index.rhtml @@ -24,7 +24,7 @@ <% unless @pages.empty? %> <% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => {:controller => 'projects', :action => 'activity', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> - <%= f.link_to 'HTML', :url => {:action => 'special', :page => 'export'} %> + <%= f.link_to('HTML', :url => {:action => 'special', :page => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %> <% end %> <% end %> |