组织首页改版,增加精选、新闻

This commit is contained in:
2023-04-10 15:09:41 +08:00
parent f5ec783175
commit 5eff025f62
10 changed files with 166 additions and 16 deletions

View File

@@ -168,6 +168,17 @@ Rails.application.routes.draw do
end
end
get :recommend, on: :collection
resources :is_pinned_projects, only: [:index, :update] do
collection do
post :pin
end
end
member do
post :update_news
post :update_memo
post :update_other
get :languages
end
end
end