Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Rails.application.routes.draw do
- resources :categories, only: [:show, :index]
- resources :forums, only: [:show, :index]
- namespace :admin do
- resources :categories, :forums
- end
- root 'forums#index'
- get "admin" => "admin/index#index"
- end
Add Comment
Please, Sign In to add comment