Add fiddle, ostruct and logger to the Gem file Now using Ruby 3.3.5 Add more text to caf_text.yml
22 lines
469 B
Ruby
22 lines
469 B
Ruby
Rails.application.routes.draw do
|
|
|
|
devise_for :users
|
|
|
|
resources :companies do
|
|
resources :cafs
|
|
end
|
|
|
|
resources 'cafs', only: [:show] do
|
|
resources :subprincipleitems, only: [:edit, :update]
|
|
end
|
|
|
|
authenticated :user do
|
|
root to: 'home#index', as: :authenticated_root
|
|
end
|
|
|
|
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
|
|
|
|
# Defines the root path route ("/")
|
|
root to: redirect('/users/sign_in')
|
|
end
|