add administrate

This commit is contained in:
João Geonizeli
2021-08-03 20:04:12 -03:00
parent f9a5f15e0e
commit dccca02d1e
6 changed files with 115 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# frozen_string_literal: true
Rails.application.routes.draw do
namespace :admin do
resources :admin_users
root to: "admin_users#index"
end
devise_for :admin_users
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end