Commit 19380451 authored by randx's avatar randx

Fix project redirect after destroy

parent f48e0cca
...@@ -96,7 +96,7 @@ class ProjectsController < ApplicationController ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment