File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 77
88 get "/sitemap.xml" , to : "pages#sitemap" , format : "xml"
99
10- scope Alchemy . admin_path , { constraints : Alchemy . admin_constraints } do
10+ scope Alchemy . admin_path , constraints : Alchemy . admin_constraints do
1111 get "/" , to : redirect ( "#{ Alchemy . admin_path } /dashboard" ) , as : :admin
1212 get "/dashboard" , to : "admin/dashboard#index" , as : :admin_dashboard
1313 get "/dashboard/info" , to : "admin/dashboard#info" , as : :dashboard_info
1616 get "/leave" , to : "admin/base#leave" , as : :leave_admin
1717 end
1818
19- namespace :admin , { path : Alchemy . admin_path , constraints : Alchemy . admin_constraints } do
19+ namespace :admin , path : Alchemy . admin_path , constraints : Alchemy . admin_constraints do
2020 resources :nodes
2121
2222 resources :pages do
You can’t perform that action at this time.
0 commit comments