Class: MultiClient::Api::V1::CurrentClientController

Inherits:
Object
  • Object
show all
Includes:
ControllerWithClient
Defined in:
app/controllers/multi_client/api/v1/current_client_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



7
8
9
10
11
# File 'app/controllers/multi_client/api/v1/current_client_controller.rb', line 7

def show
  @resource = load_resource
  head(:no_content) and return if @resource.nil?
  respond_with @resource, include: :client_setting
end