Merge pull request #264 from flixflax/remove_issue_fix

Redirect to issues list after deleting an issue in edit view
This commit is contained in:
Dmitriy Zaporozhets 2012-01-06 00:35:23 -08:00
commit 8a6bdf04c8

View file

@ -87,6 +87,7 @@ class IssuesController < ApplicationController
@issue.destroy
respond_to do |format|
format.html { redirect_to project_issues_path }
format.js { render :nothing => true }
end
end