diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-30 18:50:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-30 18:50:04 +0000 |
commit | 2664693ae83b841aa8d0e7b2bf14da751dc1ce28 (patch) | |
tree | 1a0f4e771c906e4a733a7d76c2d911e929403882 /app/controllers/wiki_controller.rb | |
parent | 3d27bf5318ef22d5d66e1863a62c3c6c1f203d66 (diff) | |
download | redmine-2664693ae83b841aa8d0e7b2bf14da751dc1ce28.tar.gz redmine-2664693ae83b841aa8d0e7b2bf14da751dc1ce28.zip |
Removed useless permission check in wiki controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8735 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/wiki_controller.rb')
-rw-r--r-- | app/controllers/wiki_controller.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb index aaf593e2b..079c44ff3 100644 --- a/app/controllers/wiki_controller.rb +++ b/app/controllers/wiki_controller.rb @@ -241,11 +241,6 @@ class WikiController < ApplicationController # Export wiki to a single pdf or html file def export - unless User.current.allowed_to?(:export_wiki_pages, @project) - redirect_to :action => 'show', :project_id => @project, :id => nil - return - end - @pages = @wiki.pages.all(:order => 'title', :include => [:content, :attachments], :limit => 75) respond_to do |format| format.html { |