add front setting

This commit is contained in:
rulingcom 2026-08-12 16:00:04 +08:00
parent bbde1b7136
commit fa9f0ae9e9
1 changed files with 7 additions and 2 deletions

View File

@ -9,7 +9,7 @@ Rails.application.routes.draw do
collection do collection do
# post 'merge_process' => 'books#merge_process' # post 'merge_process' => 'books#merge_process'
# get 'merge' => 'books#merge' # get 'merge' => 'books#merge'
# get 'toggle_hide' => 'books#toggle_hide' get 'toggle_hide' => 'activities#toggle_hide'
get 'analysis' get 'analysis'
get 'analysis_report' get 'analysis_report'
get 'download_excel' get 'download_excel'
@ -19,7 +19,12 @@ Rails.application.routes.draw do
resources :members do resources :members do
collection do collection do
scope '(:name-:uid)' do scope '(:name-:uid)' do
resources :activities, :only => [:new] resources :activities, :only => [:new] do
collection do
get 'frontend_setting' => 'activities#frontend_setting'
post 'update_frontend_setting' => 'activities#update_frontend_setting'
end
end
end end
end end
end end