|
|
@ -6,6 +6,7 @@ Rails.application.routes.draw do
|
|
|
|
|
|
|
|
|
|
|
|
get 'attachments/download/:id', to: 'attachments#show'
|
|
|
|
get 'attachments/download/:id', to: 'attachments#show'
|
|
|
|
get 'attachments/download/:id/:filename', to: 'attachments#show'
|
|
|
|
get 'attachments/download/:id/:filename', to: 'attachments#show'
|
|
|
|
|
|
|
|
delete 'attachments/destroy_files', to 'attachments#destroy_files'
|
|
|
|
get 'auth/qq/callback', to: 'oauth/qq#create'
|
|
|
|
get 'auth/qq/callback', to: 'oauth/qq#create'
|
|
|
|
get 'auth/failure', to: 'oauth/base#auth_failure'
|
|
|
|
get 'auth/failure', to: 'oauth/base#auth_failure'
|
|
|
|
|
|
|
|
|
|
|
@ -747,11 +748,7 @@ Rails.application.routes.draw do
|
|
|
|
|
|
|
|
|
|
|
|
resources :poll_bank_questions
|
|
|
|
resources :poll_bank_questions
|
|
|
|
|
|
|
|
|
|
|
|
resources :attachments do
|
|
|
|
resources :attachments
|
|
|
|
collection do
|
|
|
|
|
|
|
|
post :destroy_files
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resources :schools do
|
|
|
|
resources :schools do
|
|
|
|
member do
|
|
|
|
member do
|
|
|
|