Refactor: Rename WikiController#page_index to #index
index is the action that should list a collection of records, which is what #page_index does. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4290 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
map.with_options :controller => 'wiki' do |wiki_routes|
|
||||
wiki_routes.with_options :conditions => {:method => :get} do |wiki_views|
|
||||
wiki_views.connect 'projects/:project_id/wiki/export', :action => 'export'
|
||||
wiki_views.connect 'projects/:project_id/wiki/page_index', :action => 'page_index'
|
||||
wiki_views.connect 'projects/:project_id/wiki/index', :action => 'index'
|
||||
wiki_views.connect 'projects/:project_id/wiki/date_index', :action => 'date_index'
|
||||
wiki_views.connect 'projects/:project_id/wiki/:page', :action => 'show', :page => nil
|
||||
wiki_views.connect 'projects/:project_id/wiki/:page/edit', :action => 'edit'
|
||||
|
||||
Reference in New Issue
Block a user