diff config/routes.rb @ 1455:5e0957fe308d luisf

merge from default branch
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 07 Nov 2013 17:12:00 +0000
parents 3db88d605fa7
children 51364c0cd58f
line wrap: on
line diff
--- a/config/routes.rb	Thu Nov 07 17:09:55 2013 +0000
+++ b/config/routes.rb	Thu Nov 07 17:12:00 2013 +0000
@@ -336,6 +336,7 @@
 
   match 'sys/projects', :to => 'sys#projects', :via => :get
   match 'sys/projects/:id/repository', :to => 'sys#create_project_repository', :via => :post
+  match 'sys/projects/:id/repository_cache.:format', :controller => 'sys', :action => 'clear_repository_cache', :conditions => { :method => :post }
   match 'sys/projects/:id/embedded.:format', :controller => 'sys', :action => 'set_embedded_active', :conditions => { :method => :post }
   match 'sys/fetch_changesets', :to => 'sys#fetch_changesets', :via => :get