20 lines
626 B
Ruby
20 lines
626 B
Ruby
# require 'sidekiq/web'
|
|
|
|
Rails.application.routes.draw do
|
|
|
|
get '/auth/login', to: 'auth#login', as: :login
|
|
get '/organisations/index'
|
|
get '/organisations/:id', to: 'organisations#show'
|
|
delete '/organisations/:id', to: 'organisations#destroy'
|
|
post '/organisations/:id/reload', to: 'organisations#reload'
|
|
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#home"
|
|
end
|