tiss2go/app/controllers/application_controller.rb

8 lines
174 B
Ruby

class ApplicationController < ActionController::Base
include Devise::Controllers::Helpers
protect_from_forgery with: :exception
before_action :authenticate_user!
end