Fix updating issue 500 error
This commit is contained in:
parent
19327e6535
commit
9459e9db24
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Projects::IssuesController < Projects::ApplicationController
|
|||
format.js
|
||||
format.html do
|
||||
if @issue.valid?
|
||||
redirect_to [@project.namespace, @project, @issue]
|
||||
redirect_to [@project.namespace.becomes(Namespace), @project, @issue]
|
||||
else
|
||||
render :edit
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue