summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-05-03 16:02:37 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-05-03 16:02:37 +0000
commit36c82ecc1f0da922014c480930500896750b1e03 (patch)
treeaae1ce92979307cf1f98c340eee3b9794f0b3852 /lib
parent469ff0fb4e44f61c1bfdcbffb785f54d1f82035d (diff)
downloadredmine-36c82ecc1f0da922014c480930500896750b1e03.tar.gz
redmine-36c82ecc1f0da922014c480930500896750b1e03.zip
Refactor: move Project Calendar to it's own controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3732 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 d2a1cdb91..238ee110a 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -76,7 +76,7 @@ Redmine::AccessControl.map do |map|
map.permission :save_queries, {:queries => [:new, :edit, :destroy]}, :require => :loggedin
# Gantt & calendar
map.permission :view_gantt, :gantts => :show
- map.permission :view_calendar, :issues => :calendar
+ map.permission :view_calendar, :calendars => :show
# Watchers
map.permission :view_issue_watchers, {}
map.permission :add_issue_watchers, {:watchers => :new}