Sha256: 029b50a1e7912fbdb38e7a7d58611728cb3f28795355f499c4569842cd140903
Contents?: true
Size: 749 Bytes
Versions: 12
Compression:
Stored size: 749 Bytes
Contents
module Wiselinks module Rails class Engine < ::Rails::Engine initializer 'wiselinks.register_logger' do Wiselinks.options[:logger] = ::Rails.logger end initializer "wiselinks.register_extensions" do ActionDispatch::Request.send :include, Request ActionController::Base.send :include, Headers ActionView::Base.send :include, Helpers end initializer "wiselinks.register_assets_digest" do if ::Rails.application.config.assets.digest && ::Rails.application.config.assets.digests.present? Wiselinks.options[:assets_digest] ||= Digest::MD5.hexdigest(::Rails.application.config.assets.digests.values.join) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems