OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48e0cc
)
Fix project redirect after destroy
author
randx
<dmitriy.zaporozhets@gmail.com>
Fri, 22 Jun 2012 19:39:03 +0000
(22:39 +0300)
committer
randx
<dmitriy.zaporozhets@gmail.com>
Fri, 22 Jun 2012 19:48:03 +0000
(22:48 +0300)
app/controllers/projects_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/projects_controller.rb
b/app/controllers/projects_controller.rb
index
609445e
..
ac70f65
100644
(file)
--- 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