Sha256: f8c180cc620b31ba55e3fa9fad8acd9970730ffd41eee465566be704bf0c69c4
Contents?: true
Size: 388 Bytes
Versions: 18
Compression:
Stored size: 388 Bytes
Contents
module Errdo class ApplicationController < ::ApplicationController before_action :_authenticate! before_action :_authorize! def _current_user instance_eval(&Errdo.current_user_method) end private def _authenticate! instance_eval(&Errdo.authenticate_with) end def _authorize! instance_eval(&Errdo.authorize_with) end end end
Version data entries
18 entries across 18 versions & 1 rubygems