add front setting

This commit is contained in:
rulingcom 2026-08-12 15:59:22 +08:00
parent e5c8f025a1
commit 2cc9f35664
1 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Rails.application.routes.draw do
resources :volunteer_services do
collection do
get 'toggle_hide' => 'volunteer_services#toggle_hide'
get 'analysis'
get 'analysis_report'
get 'download_excel'
@ -16,7 +17,12 @@ Rails.application.routes.draw do
resources :members do
collection do
scope '(:name-:uid)' do
resources :volunteer_services, :only => [:new]
resources :volunteer_services, :only => [:new] do
collection do
get 'frontend_setting' => 'volunteer_services#frontend_setting'
post 'update_frontend_setting' => 'volunteer_services#update_frontend_setting'
end
end
end
end
end