mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-17 02:05:58 +08:00
add: home index api
This commit is contained in:
@@ -24,16 +24,7 @@ Rails.application.routes.draw do
|
||||
resources :edu_settings
|
||||
|
||||
scope '/api' do
|
||||
namespace :topic do
|
||||
resources :activity_forums, only: [:index]
|
||||
resources :banners, only: [:index]
|
||||
resources :cards, only: [:index]
|
||||
resources :cooperators, only: [:index]
|
||||
resources :excellent_projects, only: [:index]
|
||||
resources :experience_forums, only: [:index]
|
||||
resources :pinned_forums, only: [:index]
|
||||
end
|
||||
|
||||
resources :topics, only: [:index]
|
||||
namespace :ci do
|
||||
resources :languages, only: [:index, :show] do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user