|
|
@@ -244,7 +244,8 @@ ActionController::Routing::Routes.draw do |map| |
|
|
|
:action => 'diff' |
|
|
|
repository_views.connect 'projects/:id/repository/revisions/:rev/raw/*path', |
|
|
|
:action => 'entry', |
|
|
|
:format => 'raw', :requirements => { :rev => /[a-z0-9\.\-_]+/ } |
|
|
|
:format => 'raw', |
|
|
|
:requirements => { :rev => /[a-z0-9\.\-_]+/ } |
|
|
|
repository_views.connect 'projects/:id/repository/revisions/:rev/:action/*path', |
|
|
|
:requirements => { :rev => /[a-z0-9\.\-_]+/ } |
|
|
|
|
|
|
@@ -266,14 +267,18 @@ ActionController::Routing::Routes.draw do |map| |
|
|
|
:action => 'graph' |
|
|
|
end |
|
|
|
|
|
|
|
repositories.connect 'projects/:id/repository/revision', :action => 'revision', |
|
|
|
repositories.connect 'projects/:id/repository/revision', |
|
|
|
:action => 'revision', |
|
|
|
:conditions => {:method => [:get, :post]} |
|
|
|
|
|
|
|
repositories.connect 'projects/:id/repository/committers', :action => 'committers', |
|
|
|
repositories.connect 'projects/:id/repository/committers', |
|
|
|
:action => 'committers', |
|
|
|
:conditions => {:method => [:get, :post]} |
|
|
|
repositories.connect 'projects/:id/repository/edit', :action => 'edit', |
|
|
|
repositories.connect 'projects/:id/repository/edit', |
|
|
|
:action => 'edit', |
|
|
|
:conditions => {:method => :post} |
|
|
|
repositories.connect 'projects/:id/repository/destroy', :action => 'destroy', |
|
|
|
repositories.connect 'projects/:id/repository/destroy', |
|
|
|
:action => 'destroy', |
|
|
|
:conditions => {:method => :post} |
|
|
|
end |
|
|
|
|