Добавление кнопки выхода, Изменение главной страницы на home, Выделение отдельного контроллера под организацию
This commit is contained in:
+7
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user