Skip to content

Instantly share code, notes, and snippets.

@johnnytomcat
Created August 24, 2018 17:43
Show Gist options
  • Save johnnytomcat/97a2e20e87fd3495639d3d7412761c0b to your computer and use it in GitHub Desktop.
Save johnnytomcat/97a2e20e87fd3495639d3d7412761c0b to your computer and use it in GitHub Desktop.
# frozen_string_literal: true
class ApplicationController < ActionController::Base
# protect_from_forgery with: :exception
respond_to :json, :html
before_action :authenticate_user!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment