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
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
......
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