Commit 193804516b8b0783c850981456e947f888ff51bb
1 parent
f48e0cca
Exists in
master
and in
4 other branches
Fix project redirect after destroy
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/projects_controller.rb
... | ... | @@ -96,7 +96,7 @@ class ProjectsController < ApplicationController |
96 | 96 | UsersProject.set_callback(:destroy, :after, :update_repository) |
97 | 97 | |
98 | 98 | respond_to do |format| |
99 | - format.html { redirect_to projects_url } | |
99 | + format.html { redirect_to root_path } | |
100 | 100 | end |
101 | 101 | end |
102 | 102 | ... | ... |