@@ -227,8 +227,6 ActionController::Routing::Routes.draw do |map| | |||||
227 | repositories.with_options :conditions => {:method => :get} do |repository_views| |
|
227 | repositories.with_options :conditions => {:method => :get} do |repository_views| | |
228 | repository_views.connect 'projects/:id/repository', |
|
228 | repository_views.connect 'projects/:id/repository', | |
229 | :action => 'show' |
|
229 | :action => 'show' | |
230 | repository_views.connect 'projects/:id/repository/edit', |
|
|||
231 | :action => 'edit' |
|
|||
232 | repository_views.connect 'projects/:id/repository/statistics', |
|
230 | repository_views.connect 'projects/:id/repository/statistics', | |
233 | :action => 'stats' |
|
231 | :action => 'stats' | |
234 |
|
232 | |||
@@ -276,7 +274,7 ActionController::Routing::Routes.draw do |map| | |||||
276 | :conditions => {:method => [:get, :post]} |
|
274 | :conditions => {:method => [:get, :post]} | |
277 | repositories.connect 'projects/:id/repository/edit', |
|
275 | repositories.connect 'projects/:id/repository/edit', | |
278 | :action => 'edit', |
|
276 | :action => 'edit', | |
279 | :conditions => {:method => :post} |
|
277 | :conditions => {:method => [:get, :post]} | |
280 | repositories.connect 'projects/:id/repository/destroy', |
|
278 | repositories.connect 'projects/:id/repository/destroy', | |
281 | :action => 'destroy', |
|
279 | :action => 'destroy', | |
282 | :conditions => {:method => :post} |
|
280 | :conditions => {:method => :post} |
General Comments 0
You need to be logged in to leave comments.
Login now