@@ -244,7 +244,8 ActionController::Routing::Routes.draw do |map| | |||
|
244 | 244 | :action => 'diff' |
|
245 | 245 | repository_views.connect 'projects/:id/repository/revisions/:rev/raw/*path', |
|
246 | 246 | :action => 'entry', |
|
247 |
:format => 'raw', |
|
|
247 | :format => 'raw', | |
|
248 | :requirements => { :rev => /[a-z0-9\.\-_]+/ } | |
|
248 | 249 | repository_views.connect 'projects/:id/repository/revisions/:rev/:action/*path', |
|
249 | 250 | :requirements => { :rev => /[a-z0-9\.\-_]+/ } |
|
250 | 251 | |
@@ -266,14 +267,18 ActionController::Routing::Routes.draw do |map| | |||
|
266 | 267 | :action => 'graph' |
|
267 | 268 | end |
|
268 | 269 | |
|
269 |
repositories.connect 'projects/:id/repository/revision', |
|
|
270 | repositories.connect 'projects/:id/repository/revision', | |
|
271 | :action => 'revision', | |
|
270 | 272 | :conditions => {:method => [:get, :post]} |
|
271 | 273 | |
|
272 |
repositories.connect 'projects/:id/repository/committers', |
|
|
274 | repositories.connect 'projects/:id/repository/committers', | |
|
275 | :action => 'committers', | |
|
273 | 276 | :conditions => {:method => [:get, :post]} |
|
274 |
repositories.connect 'projects/:id/repository/edit', |
|
|
277 | repositories.connect 'projects/:id/repository/edit', | |
|
278 | :action => 'edit', | |
|
275 | 279 | :conditions => {:method => :post} |
|
276 |
repositories.connect 'projects/:id/repository/destroy', |
|
|
280 | repositories.connect 'projects/:id/repository/destroy', | |
|
281 | :action => 'destroy', | |
|
277 | 282 | :conditions => {:method => :post} |
|
278 | 283 | end |
|
279 | 284 |
General Comments 0
You need to be logged in to leave comments.
Login now