Skip to content
Snippets Groups Projects
Commit 9459e9db authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix updating issue 500 error

parent 19327e65
No related branches found
No related tags found
No related merge requests found
Loading
@@ -79,7 +79,7 @@ class Projects::IssuesController < Projects::ApplicationController
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment