Добавление кнопки выхода, Изменение главной страницы на home, Выделение отдельного контроллера под организацию

This commit is contained in:
ARLakhin
2026-03-26 00:45:44 +03:00
parent df4c307e24
commit 853b82660f
14 changed files with 169 additions and 27 deletions
+7 -4
View File
@@ -1,14 +1,17 @@
# require 'sidekiq/web'
Rails.application.routes.draw do
get 'auditors/index'
get 'reports/create'
get '/auth/login', to: 'auth#login', as: :login
get '/organisations/index'
get '/organisations/:id', to: 'organisations#show'
get '/auditors/index'
get '/reports/create'
get '/reports', to: 'reports#index'
post '/reports', to: 'reports#create'
# mount Sidekiq::Web => '/sidekiq' # Для проверки работы Sidekiq через веб-интерфейс
# Defines the root path route ("/")
root "welcome#index"
root "welcome#home"
end