Commit 8a6bdf04c899141ef7fb573b979e5b0d71d5fa51

Authored by Dmitriy Zaporozhets
2 parents 70efc014 10b6cb4d

Merge pull request #264 from flixflax/remove_issue_fix

Redirect to issues list after deleting an issue in edit view
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/controllers/issues_controller.rb
... ... @@ -87,6 +87,7 @@ class IssuesController < ApplicationController
87 87 @issue.destroy
88 88  
89 89 respond_to do |format|
  90 + format.html { redirect_to project_issues_path }
90 91 format.js { render :nothing => true }
91 92 end
92 93 end
... ...