mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
21 lines
457 B
Ruby
21 lines
457 B
Ruby
Rails.application.routes.draw do
|
|
root to: 'static_pages#roadmap'
|
|
get '/roadmap', to: 'static_pages#roadmap'
|
|
|
|
namespace :admin do
|
|
root to: 'boards#index'
|
|
|
|
resources :boards
|
|
resources :post_statuses
|
|
resources :users
|
|
end
|
|
|
|
devise_for :users
|
|
|
|
resources :boards, only: [:show]
|
|
resources :posts, only: [:index, :create, :show, :update] do
|
|
resources :comments, only: [:index]
|
|
end
|
|
resources :post_statuses, only: [:index]
|
|
end
|