Sha256: a37cd1c19c4ce4898d0fbac8d6b9e0f6504f2cf2b3e9214cfefa125b41f05356

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

class SessionsController < Devise::SessionsController
  respond_to :json

  private

  def respond_with(resource, _opts = {})
    render json: resource
  end

  def respond_to_on_destroy
    head :no_content
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flamerb-0.3.0 templates/app/controllers/sessions_controller.rb