From 4e32d3efcbbfcf702551012d66b8ba492fe9e5c5 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 7 May 2014 13:27:09 -0300 Subject: [PATCH] rails3: fix route for embed content --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index d411848..0101130 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,7 +32,7 @@ Noosfero::Application.routes.draw do match 'user_themes(/*stuff)' => 'not_found#nothing' # embed controller - map.embed 'embed/:action/:id', :controller => 'embed', :id => /\d+/ + match 'embed/:action/:id', :controller => 'embed', :id => /\d+/ # online documentation match 'doc' => 'doc#index', :as => :doc -- libgit2 0.21.2