Commit 4e32d3efcbbfcf702551012d66b8ba492fe9e5c5
1 parent
b8a98e89
Exists in
master
and in
29 other branches
rails3: fix route for embed content
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/routes.rb
| ... | ... | @@ -32,7 +32,7 @@ Noosfero::Application.routes.draw do |
| 32 | 32 | match 'user_themes(/*stuff)' => 'not_found#nothing' |
| 33 | 33 | |
| 34 | 34 | # embed controller |
| 35 | - map.embed 'embed/:action/:id', :controller => 'embed', :id => /\d+/ | |
| 35 | + match 'embed/:action/:id', :controller => 'embed', :id => /\d+/ | |
| 36 | 36 | |
| 37 | 37 | # online documentation |
| 38 | 38 | match 'doc' => 'doc#index', :as => :doc | ... | ... |