Created
August 24, 2018 17:43
-
-
Save johnnytomcat/97a2e20e87fd3495639d3d7412761c0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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