summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-25 16:16:46 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-25 16:16:46 +0000
commit4b045badcfde2eb27b63023ca8f3c30334d7f00f (patch)
treef79e433aea72c3b42f50065a26ffd6da535d229f /lib
parent0e951c071631fee35962b264d3db2c68961bf670 (diff)
downloadredmine-4b045badcfde2eb27b63023ca8f3c30334d7f00f.tar.gz
redmine-4b045badcfde2eb27b63023ca8f3c30334d7f00f.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 1a4b581ce..e813950ce 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -111,7 +111,7 @@ Redmine::AccessControl.map do |map|
map.permission :manage_wiki, {:wikis => [:edit, :destroy]}, :require => :member
map.permission :rename_wiki_pages, {:wiki => :rename}, :require => :member
map.permission :delete_wiki_pages, {:wiki => :destroy}, :require => :member
- map.permission :view_wiki_pages, :wiki => [:show, :special, :page_index, :date_index]
+ map.permission :view_wiki_pages, :wiki => [:index, :show, :special, :date_index]
map.permission :export_wiki_pages, :wiki => [:export]
map.permission :view_wiki_edits, :wiki => [:history, :diff, :annotate]
map.permission :edit_wiki_pages, :wiki => [:edit, :update, :preview, :add_attachment]