add user document model

This commit is contained in:
João Geonizeli
2021-08-04 21:53:58 -03:00
parent 95079e2ae7
commit 30b290514f
11 changed files with 158 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ Rails.application.routes.draw do
namespace :admin do
resources :users
resources :user_documents
resources :admin_users
root to: "users#index"
@@ -11,7 +12,7 @@ Rails.application.routes.draw do
root to: "home#index"
get "*all" => "home#index", constraints: lambda { |req|
Rails.env.development? ? req.path.exclude?("playground") : req
req.path.exclude?("playground") && req.path.exclude?("rails")
}
post "/graphql", to: "graphql#execute"