mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
Fix RuboCop offense Rails/HttpStatus (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -29,7 +29,7 @@ class IssueRelationsController < ApplicationController
|
||||
@relations = @issue.relations
|
||||
|
||||
respond_to do |format|
|
||||
format.html {head 200}
|
||||
format.html {head :ok}
|
||||
format.api
|
||||
end
|
||||
end
|
||||
@@ -38,7 +38,7 @@ class IssueRelationsController < ApplicationController
|
||||
raise Unauthorized unless @relation.visible?
|
||||
|
||||
respond_to do |format|
|
||||
format.html {head 200}
|
||||
format.html {head :ok}
|
||||
format.api
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user