@@ -242,7 +242,7 class RepositoriesController < ApplicationController | |||||
242 | # DELETE /projects/:project_id/repository/(:repository_id/)revisions/:rev/issues/:issue_id |
|
242 | # DELETE /projects/:project_id/repository/(:repository_id/)revisions/:rev/issues/:issue_id | |
243 | def remove_related_issue |
|
243 | def remove_related_issue | |
244 | @issue = Issue.visible.find_by_id(params[:issue_id]) |
|
244 | @issue = Issue.visible.find_by_id(params[:issue_id]) | |
245 |
if @issue |
|
245 | if @issue | |
246 | @changeset.issues.delete(@issue) |
|
246 | @changeset.issues.delete(@issue) | |
247 | end |
|
247 | end | |
248 | end |
|
248 | end |
General Comments 0
You need to be logged in to leave comments.
Login now