]> source.dussan.org Git - redmine.git/commitdiff
add space after comma to RepositoriesController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Oct 2020 12:58:27 +0000 (12:58 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 2 Oct 2020 12:58:27 +0000 (12:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20099 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/repositories_controller.rb

index 0da25695375213249f1e77e79ca36f4bd12539a7..89447566bbb98b3a4628c171070ed8c073ad09b5 100644 (file)
@@ -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