summaryrefslogtreecommitdiffstats
path: root/app/controllers/wiki_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/wiki_controller.rb')
-rw-r--r--app/controllers/wiki_controller.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb
index 7d8cb422c..2bd95bafd 100644
--- a/app/controllers/wiki_controller.rb
+++ b/app/controllers/wiki_controller.rb
@@ -173,9 +173,6 @@ class WikiController < ApplicationController
def special
page_title = params[:page].downcase
case page_title
- # show pages index, sorted by title
- when 'date_index'
- load_pages_grouped_by_date_without_content
when 'export'
redirect_to :action => 'export', :id => @project # Compatibility stub while refactoring
return
@@ -201,6 +198,10 @@ class WikiController < ApplicationController
def page_index
load_pages_grouped_by_date_without_content
end
+
+ def date_index
+ load_pages_grouped_by_date_without_content
+ end
def preview
page = @wiki.find_page(params[:page])