Sha256: 8e15a5d44c8baf124b556f4babff0f9ceeb8b5cf922f47289a947a3068008126
Contents?: true
Size: 427 Bytes
Versions: 8
Compression:
Stored size: 427 Bytes
Contents
module Teabag class Engine < ::Rails::Engine isolate_namespace Teabag initializer :assets, :group => :all do |app| # default the root if it's not set Teabag.configuration.root ||= app.root # append the asset paths from the configuration Teabag.configuration.asset_paths.each do |path| app.config.assets.paths << Teabag.configuration.root.join(path).to_s end end end end
Version data entries
8 entries across 8 versions & 1 rubygems