5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 01:41:42 +00:00
panel/config/routes.rb

15 lines
291 B
Ruby
Raw Normal View History

2018-01-02 17:19:25 +00:00
Rails.application.routes.draw do
2018-01-29 18:09:30 +00:00
root 'application#index'
get 'login/new', to: 'login#new'
post 'login', to: 'login#create'
resources :sites do
resources :posts
2018-02-09 21:28:27 +00:00
get 'i18n', to: 'i18n#index'
get 'i18n/edit', to: 'i18n#edit'
post 'i18n', to: 'i18n#update'
2018-01-29 18:09:30 +00:00
end
2018-01-02 17:19:25 +00:00
end