mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Add Boards
This commit is contained in:
@@ -2,9 +2,13 @@ Rails.application.routes.draw do
|
||||
root to: 'static_pages#home'
|
||||
|
||||
namespace :admin do
|
||||
root to: "users#index"
|
||||
root to: "boards#index"
|
||||
|
||||
resources :boards
|
||||
resources :users
|
||||
end
|
||||
|
||||
devise_for :users
|
||||
|
||||
resources :boards, only: [:show]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user