Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions config/routes/api_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
result =
case app_name
when 'patchwork'
{ display: true, app_name: 'patchwork' }
{ display: false, app_name: 'patchwork' }
when 'newsmast'
{ display: true, app_name: 'newsmast' }
when 'channel'
{ display: true, app_name: 'channel' }
when 'mo-me'
{ display: true, app_name: 'mo-me' }
else
Expand Down Expand Up @@ -123,7 +125,7 @@
get 'translations/:namespace', to: 'locales#translations', as: :translations
end
end

resources :statuses, only: [] do
collection do
post :boost_post
Expand Down