diff config/routes.rb @ 1334:9397280c138c live

Restore route for enabling embedded docs through sys controller
author Chris Cannam
date Thu, 20 Jun 2013 12:34:41 +0100
parents d8e15cc24494
children 3db88d605fa7
line wrap: on
line diff
--- a/config/routes.rb	Thu Jun 20 12:03:53 2013 +0100
+++ b/config/routes.rb	Thu Jun 20 12:34:41 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/embedded.:format', :controller => 'sys', :action => 'set_embedded_active', :conditions => { :method => :post }
   match 'sys/fetch_changesets', :to => 'sys#fetch_changesets', :via => :get
 
   match 'uploads', :to => 'attachments#upload', :via => :post