File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
Rails . application . routes . draw do
2
- get 'static_pages/home'
3
-
4
2
# Render legal documents by using Keiyaku CSS
5
3
# https://github.com/cognitom/keiyaku-css
6
4
resources :docs , only : [ :index , :show ]
7
5
6
+ # Static Pages
7
+ root "static_pages#home"
8
+
8
9
# Redirects
9
10
get "/releases/2016/12/12/new-backend" , to : redirect ( '/news/2016/12/12/new-backend' )
10
11
get "/blogs/2016/12/12/new-backend" , to : redirect ( '/news/2016/12/12/new-backend' )
19
20
20
21
# Default Scrivito routes. Adapt them to change the routing of CMS objects.
21
22
# See the documentation of 'scrivito_route' for a detailed description.
22
- scrivito_route '/' , using : 'homepage'
23
23
scrivito_route '(/)(*slug-):id' , using : 'slug_id'
24
24
scrivito_route '/*permalink' , using : 'permalink' , format : false
25
25
end
You can’t perform that action at this time.
0 commit comments