mastodon/app/controllers/api
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
..
activitypub Extract authorization policy for viewing statuses (#3150) 2017-05-29 18:22:22 +02:00
v1 Redirect to streaming_api_base_url (#3579) 2017-06-05 12:09:29 +02:00
web Coverage for api/web/settings controller (#3238) 2017-05-22 23:12:28 +02:00
oembed_controller.rb Improve api oembed controller (#3450) 2017-05-30 16:30:06 -04:00
push_controller.rb Specs for API push controller, with refactor (#2926) 2017-05-09 00:44:30 +02:00
salmon_controller.rb Clean up api/salmon controller (#3449) 2017-05-30 16:28:58 -04:00
subscriptions_controller.rb Clean up api/subscriptions controller (#3448) 2017-05-31 02:15:09 +02:00