Fix project redirect after destroy
This commit is contained in:
parent
f48e0cca6d
commit
193804516b
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class ProjectsController < ApplicationController
|
||||||
UsersProject.set_callback(:destroy, :after, :update_repository)
|
UsersProject.set_callback(:destroy, :after, :update_repository)
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { redirect_to projects_url }
|
format.html { redirect_to root_path }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue