Sha256: 932fab2c3c872dff879fae4abbbfce1f2688c2a48dc1ae446980ea4c290c28af
Contents?: true
Size: 395 Bytes
Versions: 17
Compression:
Stored size: 395 Bytes
Contents
module Alchemy module BaseControllerExtension def self.prepended(base) base.before_action(:store_user_request_time) end private # Stores the users request time. def store_user_request_time if alchemy_user_signed_in? current_alchemy_user.store_request_time! end end end end Alchemy::BaseController.prepend Alchemy::BaseControllerExtension
Version data entries
17 entries across 17 versions & 1 rubygems