add: pinned projects order by position

This commit is contained in:
2021-06-02 16:40:40 +08:00
parent df6da37b95
commit 96a8da5d26
5 changed files with 134 additions and 26 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ Rails.application.routes.draw do
end
end
resources :headmaps, only: [:index]
resources :is_pinned_projects, only: [:index] do
resources :is_pinned_projects, only: [:index, :update] do
collection do
post :pin
end