Latest updates

This commit is contained in:
2022-04-07 12:45:09 +01:00
parent 557b43c911
commit 21b42c69a5
25 changed files with 412 additions and 14 deletions

View File

@@ -41,3 +41,4 @@ pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
# Allow puma to be restarted by `bin/rails restart` command.
plugin :tmp_restart
bind 'tcp://0.0.0.0:3000'

View File

@@ -1,9 +1,9 @@
Rails.application.routes.draw do
devise_for :users
#resources :companies
namespace :admin do
resources :companies
devise_for :users
resources :companies do
resources :cafs
end
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html