mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
组织首页改版,增加精选、新闻
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user