Fix project redirect after destroy

This commit is contained in:
randx 2012-06-22 22:39:03 +03:00
parent f48e0cca6d
commit 193804516b

View file

@ -96,7 +96,7 @@ class ProjectsController < ApplicationController
UsersProject.set_callback(:destroy, :after, :update_repository)
respond_to do |format|
format.html { redirect_to projects_url }
format.html { redirect_to root_path }
end
end