Redirect to issues list after deleting an issue in edit view

This commit is contained in:
Felix Richter 2012-01-04 13:47:57 +01:00
parent ac62036320
commit 10b6cb4d37

View file

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