redirection
This commit is contained in:
parent
4cdde227e6
commit
4f399caa50
@ -172,6 +172,12 @@ CMSnb::Application.routes.draw do
|
|||||||
get '*url.html' => 'public/menu_items#show', :as => :menu_item, :f => "html"
|
get '*url.html' => 'public/menu_items#show', :as => :menu_item, :f => "html"
|
||||||
get '*url.:f' => 'public/menu_items#redirect', :f => "html"
|
get '*url.:f' => 'public/menu_items#redirect', :f => "html"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
get ':id/*slug', to: redirect('/%{slug}.html')
|
||||||
|
|
||||||
|
|
||||||
root 'public/home#home'
|
root 'public/home#home'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user