catstodon/app/controllers/api/v1
Daigo 3 Dango 2985d08951 Redirect to streaming_api_base_url (#3579)
* Redirect to streaming_api_base_url

When Rails receives a request to streaming API, it most likely
means that there is another host which is configured to respond
to it. This is to redirect clients to that host if
`STREAMING_API_BASE_URL` is set as another host.

* Use the new Ruby 1.9 hash syntax
2017-06-05 12:09:29 +02:00
..
accounts Spec coverage and refactor for the api/v1/accounts controllers (#3451) 2017-05-31 21:36:24 +02:00
timelines Refactor and spec coverage for api/v1/timelines actions (#3482) 2017-05-31 20:27:17 +02:00
accounts_controller.rb Spec coverage and refactor for the api/v1/accounts controllers (#3451) 2017-05-31 21:36:24 +02:00
apps_controller.rb Refactor api/v1/apps controller (#3471) 2017-05-30 21:16:28 -04:00
blocks_controller.rb Improve spec coverage and clean up api/v1/blocks controller (#3464) 2017-05-31 20:34:51 +02:00
domain_blocks_controller.rb Improve spec coverage and clean up api/v1/domain_blocks controller (#3466) 2017-05-31 20:31:14 +02:00
favourites_controller.rb Fix limit_param in favourites_controller.rb (#3553) 2017-06-04 14:52:26 +02:00
follow_requests_controller.rb Improve spec coverage and clean up api/v1/follow_requests controller (#3465) 2017-05-31 20:32:11 +02:00
follows_controller.rb Simplify render in controllers (#2144) 2017-04-19 15:37:42 +02:00
instances_controller.rb Fix #525 - Add instance information API 2017-03-15 23:12:48 +01:00
media_controller.rb Improve spec coverage and clean up api/v1/media controller (#3467) 2017-05-30 21:11:29 -04:00
mutes_controller.rb Improve spec coverage and clean up api/v1/mutes controller (#3481) 2017-05-31 20:27:34 +02:00
notifications_controller.rb Refactor api/v1/notifications controller (#3470) 2017-05-31 20:30:55 +02:00
reports_controller.rb Refactor api/v1/reports controller (#3469) 2017-05-30 21:13:31 -04:00
search_controller.rb Refactor api/v1/search controller (#3468) 2017-05-30 21:11:54 -04:00
statuses_controller.rb Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
streaming_controller.rb Redirect to streaming_api_base_url (#3579) 2017-06-05 12:09:29 +02:00