Sha256: 9bc774ae50c50e6df8d84be67a3dbcadbe0e53b949df7dce782a782cb9f09bb2
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
class AutoError::ApplicationController < ActionController::Base include AutoError::ApplicationHelper helper :all protected def ensure_authenticated context = AutoError::AuthContext.new(env) raise AutoError::Errors::Denied unless AutoError::Config.auth_with.call(context) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auto_error-0.0.3 | app/controllers/auto_error/application_controller.rb |
auto_error-0.0.2 | app/controllers/auto_error/application_controller.rb |