Sha256: b5b09fe2c46688405063adce6986f4c7fe1f0bbc711d984434aafa31945ff1b2
Contents?: true
Size: 817 Bytes
Versions: 16
Compression:
Stored size: 817 Bytes
Contents
module Gaku module Frontend class Engine < ::Rails::Engine engine_name 'gaku_frontend' config.autoload_paths += %W(#{config.root}/lib) config.to_prepare do Gaku::GakuController.helper(Gaku::FrontendHelper) end config.after_initialize do Rails.application.routes_reloader.reload! end # sets the manifests / assets to be precompiled, even when initialize_on_precompile is false initializer 'gaku.assets.precompile', group: :all do |app| app.config.assets.precompile += %w( gaku/frontend/all* ) end # filter sensitive information during logging initializer 'gaku.params.filter' do |app| app.config.filter_parameters += [:password, :password_confirmation, :number] end end end end
Version data entries
16 entries across 16 versions & 2 rubygems