Sha256: 7a83742db62c48a83f8812d58caa44fa2396f81e5a41f35c79828aa349c1d69e
Contents?: true
Size: 505 Bytes
Versions: 20
Compression:
Stored size: 505 Bytes
Contents
module Trestle module Controller module Callbacks extend ActiveSupport::Concern included do Trestle.config.before_actions.each do |action| before_action(action.options, &action.block) end Trestle.config.after_actions.each do |action| after_action(action.options, &action.block) end Trestle.config.around_actions.each do |action| around_action(action.options, &action.block) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems