mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Add api streaming case
This commit is contained in:
parent
5e546275cc
commit
0a63ed4584
1 changed files with 4 additions and 2 deletions
|
@ -44,8 +44,10 @@ namespace :api, format: false do
|
|||
resources :list, only: :show
|
||||
end
|
||||
|
||||
get '/streaming', to: 'streaming#index'
|
||||
get '/streaming/(*any)', to: 'streaming#index'
|
||||
with_options to: 'streaming#index' do
|
||||
get '/streaming'
|
||||
get '/streaming/(*any)'
|
||||
end
|
||||
|
||||
resources :custom_emojis, only: [:index]
|
||||
resources :suggestions, only: [:index, :destroy]
|
||||
|
|
Loading…
Reference in a new issue