Sha256: d024d1e39bb12e43241202502915b0580f437b94fa1cce8882108070b03d01d3
Contents?: true
Size: 225 Bytes
Versions: 5
Compression:
Stored size: 225 Bytes
Contents
class ApplicationController < ActionController::Base protect_from_forgery with: :exception before_action :authorize! rescue_from ActionControl::NotAuthorizedError, with: -> { render html: 'You are not authorized!' } end
Version data entries
5 entries across 5 versions & 1 rubygems