changeset 1446:3db88d605fa7 live

Add back lost repository_cache route
author Chris Cannam
date Tue, 22 Oct 2013 11:36:10 +0100
parents 0c7b3bb73517
children 1e67c667641f
files config/routes.rb
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config/routes.rb	Tue Oct 22 10:56:02 2013 +0100
+++ b/config/routes.rb	Tue Oct 22 11:36:10 2013 +0100
@@ -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