Revision 437:102056ec2de9 config

View differences:

config/routes.rb
237 237
  map.with_options :controller => 'sys' do |sys|
238 238
    sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get}
239 239
    sys.connect 'sys/projects/:id/repository.:format', :action => 'create_project_repository', :conditions => {:method => :post}
240
    sys.connect 'sys/projects/:id/external-repository.:format', :action => 'get_external_repo_url', :conditions => {:method => :get}
240
    sys.connect 'sys/projects/:id/external_repository.:format', :action => 'get_external_repo_url', :conditions => {:method => :get}
241 241
    sys.connect 'sys/projects/:id/embedded.:format', :action => 'set_embedded_active', :conditions => { :method => :post }
242
    sys.connect 'sys/projects/:id/repository_cache.:format', :action => 'clear_repository_cache', :conditions => {:method => :post}
242 243
  end
243 244
 
244 245
  # Install the default route as the lowest priority.

Also available in: Unified diff