Commit 9459e9db authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix updating issue 500 error

parent 19327e65
...@@ -79,7 +79,7 @@ class Projects::IssuesController < Projects::ApplicationController ...@@ -79,7 +79,7 @@ class Projects::IssuesController < Projects::ApplicationController
format.js format.js
format.html do format.html do
if @issue.valid? if @issue.valid?
redirect_to [@project.namespace, @project, @issue] redirect_to [@project.namespace.becomes(Namespace), @project, @issue]
else else
render :edit render :edit
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment