|
|
@ -4,6 +4,8 @@ Rails.application.routes.draw do
|
|
|
|
require 'admin_constraint'
|
|
|
|
require 'admin_constraint'
|
|
|
|
mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
|
|
|
mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get 'attachments/download/:id', to: 'attachments#show'
|
|
|
|
|
|
|
|
|
|
|
|
resources :edu_settings
|
|
|
|
resources :edu_settings
|
|
|
|
scope '/api' do
|
|
|
|
scope '/api' do
|
|
|
|
get 'home/index'
|
|
|
|
get 'home/index'
|
|
|
|