Class: KnockRails3::AuthTokenController

Inherits:
ApplicationController show all
Defined in:
app/controllers/knock_rails3/auth_token_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



7
8
9
# File 'app/controllers/knock_rails3/auth_token_controller.rb', line 7

def create
  render json: auth_token, status: :created
end