From 95ba0ea3c4062f535c293a80a872a865d1fefd30 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 2 Oct 2020 12:58:27 +0000 Subject: [PATCH] add space after comma to RepositoriesController git-svn-id: http://svn.redmine.org/redmine/trunk@20099 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/repositories_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 0da256953..89447566b 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -221,7 +221,7 @@ class RepositoriesController < ApplicationController # Adds a related issue to a changeset # POST /projects/:project_id/repository/(:repository_id/)revisions/:rev/issues def add_related_issue - issue_id = params[:issue_id].to_s.sub(/^#/,'') + issue_id = params[:issue_id].to_s.sub(/^#/, '') @issue = @changeset.find_referenced_issue_by_id(issue_id) if @issue && (!@issue.visible? || @changeset.issues.include?(@issue)) @issue = nil -- 2.39.5