Refactor: convert many of the custom Issue routes to REST resources.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4041 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2010-08-26 16:36:59 +00:00
parent daa4272c0e
commit 56e984b5e7
9 changed files with 44 additions and 53 deletions
+2 -2
View File
@@ -137,11 +137,11 @@ Redmine::AccessControl.map do |map|
end
map.project_module :calendar do |map|
map.permission :view_calendar, :calendars => :show
map.permission :view_calendar, :calendars => [:show, :update]
end
map.project_module :gantt do |map|
map.permission :view_gantt, :gantts => :show
map.permission :view_gantt, :gantts => [:show, :update]
end
end