summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-04-28 15:54:46 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-04-28 15:54:46 +0000
commite65c3cfc7df3da58071c8de158c98861dab7d852 (patch)
treee2ce1076fba209a370e49888eac588731e927f2f /lib
parenta925435b294331079b65e96d2480bb99d1c6f109 (diff)
downloadredmine-e65c3cfc7df3da58071c8de158c98861dab7d852.tar.gz
redmine-e65c3cfc7df3da58071c8de158c98861dab7d852.zip
Refactor: Move gantts to a separate controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3695 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 ce8e3211b..d2a1cdb91 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -75,7 +75,7 @@ Redmine::AccessControl.map do |map|
map.permission :manage_public_queries, {:queries => [:new, :edit, :destroy]}, :require => :member
map.permission :save_queries, {:queries => [:new, :edit, :destroy]}, :require => :loggedin
# Gantt & calendar
- map.permission :view_gantt, :issues => :gantt
+ map.permission :view_gantt, :gantts => :show
map.permission :view_calendar, :issues => :calendar
# Watchers
map.permission :view_issue_watchers, {}