mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
Merge branch 'standalone_develop' into pre_trustie_server
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
|
||||
|
||||
@@ -523,7 +534,7 @@ Rails.application.routes.draw do
|
||||
get 'readme'
|
||||
get 'languages'
|
||||
get 'archive/:archive', to: 'repositories#archive', as: "archive", constraints: { archive: /.+/, format: /(zip|gzip)/ }
|
||||
get 'raw', to: 'repositories#raw', as: "raw"
|
||||
get 'raw/*filepath', to: 'repositories#raw', as: "raw", constraints: { filepath: /.+/}
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -9,3 +9,4 @@
|
||||
- [mailers, 101]
|
||||
- [cache, 10]
|
||||
- [message, 20]
|
||||
- [webhook, 20]
|
||||
|
||||
Reference in New Issue
Block a user