From: Jean-Philippe Lang Date: Tue, 27 Jan 2015 21:55:34 +0000 (+0000) Subject: Removed :update key and use :edit instead. X-Git-Tag: 3.0.0~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=defd3f439f336a5c90532ce133b132a467ebbff5;p=redmine.git Removed :update key and use :edit instead. git-svn-id: http://svn.redmine.org/redmine/trunk@13953 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/context_menus_controller.rb b/app/controllers/context_menus_controller.rb index ce02f6122..3c4d46852 100644 --- a/app/controllers/context_menus_controller.rb +++ b/app/controllers/context_menus_controller.rb @@ -31,7 +31,6 @@ class ContextMenusController < ApplicationController @can = {:edit => User.current.allowed_to?(:edit_issues, @projects), :log_time => (@project && User.current.allowed_to?(:log_time, @project)), - :update => User.current.allowed_to?(:edit_issues, @projects), :move => (@project && User.current.allowed_to?(:move_issues, @project)), :copy => (@issue && @project.trackers.include?(@issue.tracker) && User.current.allowed_to?(:add_issues, @project)), :delete => User.current.allowed_to?(:delete_issues, @projects) diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb index d2faaa3fd..069c7f46e 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -15,7 +15,7 @@ @@ -51,10 +51,10 @@ <% end %> @@ -65,14 +65,14 @@ <% end %> @@ -83,10 +83,10 @@ <% end -%>