Skip to content

Instantly share code, notes, and snippets.

@ashishwadekar
Created December 24, 2018 19:17
Show Gist options
  • Select an option

  • Save ashishwadekar/ba5bab9e3d6fd0f7943b540dc3679d09 to your computer and use it in GitHub Desktop.

Select an option

Save ashishwadekar/ba5bab9e3d6fd0f7943b540dc3679d09 to your computer and use it in GitHub Desktop.
Sample application controller for Devise JWT
class ApplicationController < ActionController::API
include ActionController::MimeResponds
respond_to :json
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment