Skip to content

Commit

Permalink
Refactor: remove WikiController#special
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4262 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
edavis10 committed Oct 19, 2010
1 parent c06c22c commit 297eb6f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions app/controllers/wiki_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,21 +169,6 @@ def destroy
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)
Expand Down

0 comments on commit 297eb6f

Please sign in to comment.