mirror of
https://github.com/mastodon/mastodon.git
synced 2025-02-07 09:48:20 +01:00
* Move ApiController to Api/BaseController * API controllers inherit from Api::BaseController * Add coverage for various error cases in api/base controller
8 lines
128 B
Ruby
8 lines
128 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Api::V1::InstancesController < Api::BaseController
|
|
respond_to :json
|
|
|
|
def show; end
|
|
end
|