summaryrefslogtreecommitdiffstats
path: root/app/controllers/repositories_controller.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-02 12:58:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-10-02 12:58:27 +0000
commit95ba0ea3c4062f535c293a80a872a865d1fefd30 (patch)
tree97e23873cc14275958c6222df28c8a5c3c0fb2a6 /app/controllers/repositories_controller.rb
parentcbde0d56697dd4c539b12f53574c4be338dd4216 (diff)
downloadredmine-95ba0ea3c4062f535c293a80a872a865d1fefd30.tar.gz
redmine-95ba0ea3c4062f535c293a80a872a865d1fefd30.zip
add space after comma to RepositoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20099 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/repositories_controller.rb')
-rw-r--r--app/controllers/repositories_controller.rb2
1 files changed, 1 insertions, 1 deletions
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