From 193804516b8b0783c850981456e947f888ff51bb Mon Sep 17 00:00:00 2001 From: randx Date: Fri, 22 Jun 2012 22:39:03 +0300 Subject: [PATCH] Fix project redirect after destroy --- app/controllers/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 609445e6..ac70f651 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -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