# 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' 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