Sha256: 744a735c7d5f537741216bcfde4f21efaa593ff3e484db594f2d0b5925f469de
Contents?: true
Size: 510 Bytes
Versions: 4
Compression:
Stored size: 510 Bytes
Contents
module Trestle module Controller module Helpers extend ActiveSupport::Concern include Trestle::FlashHelper included do # Allow inclusion of helpers from Rails application self.helpers_path += Rails.application.helpers_paths # Add helpers declared from configuration as blocks helper Trestle.config.helper_module # Add helpers declared from configuration as module references helper *Trestle.config.helpers end end end end
Version data entries
4 entries across 4 versions & 1 rubygems