Commit 8a6bdf04 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #264 from flixflax/remove_issue_fix

Redirect to issues list after deleting an issue in edit view
parents 70efc014 10b6cb4d
...@@ -87,6 +87,7 @@ class IssuesController < ApplicationController ...@@ -87,6 +87,7 @@ class IssuesController < ApplicationController
@issue.destroy @issue.destroy
respond_to do |format| respond_to do |format|
format.html { redirect_to project_issues_path }
format.js { render :nothing => true } format.js { render :nothing => true }
end end
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