diff --git a/config/routes.rb b/config/routes.rb index 1875929..8a6270b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -172,6 +172,12 @@ CMSnb::Application.routes.draw do get '*url.html' => 'public/menu_items#show', :as => :menu_item, :f => "html" get '*url.:f' => 'public/menu_items#redirect', :f => "html" + + + + get ':id/*slug', to: redirect('/%{slug}.html') + + root 'public/home#home'