summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-19 15:24:16 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-19 15:24:16 +0000
commit297eb6f81bf2adb50b67cdf468cde6fb1286f90d (patch)
tree1125346cdb325a8fe13cc2d0c95aa99ecde98d32
parentc06c22cf2e29dc0a4a0b2b9dd67a867b370a21f9 (diff)
downloadredmine-297eb6f81bf2adb50b67cdf468cde6fb1286f90d.tar.gz
redmine-297eb6f81bf2adb50b67cdf468cde6fb1286f90d.zip
Refactor: remove WikiController#special
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4262 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/controllers/wiki_controller.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb
index 2bd95bafd..1347c3dc0 100644
--- a/app/controllers/wiki_controller.rb
+++ b/app/controllers/wiki_controller.rb
@@ -169,21 +169,6 @@ class WikiController < ApplicationController
redirect_to :action => 'page_index', :id => @project
end
- # display special pages
- def special
- page_title = params[:page].downcase
- case page_title
- when 'export'
- redirect_to :action => 'export', :id => @project # Compatibility stub while refactoring
- return
- else
- # requested special page doesn't exist, redirect to default page
- redirect_to :action => 'index', :id => @project, :page => nil
- return
- end
- render :action => "special_#{page_title}"
- end
-
# Export wiki to a single html file
def export
if User.current.allowed_to?(:export_wiki_pages, @project)