Sha256: 605e1e2c5147ff27035c2bb8ee2d16a696756d123ef120bb9a830e5a8cac3812
Contents?: true
Size: 814 Bytes
Versions: 2
Compression:
Stored size: 814 Bytes
Contents
# frozen_string_literal: true require "#{File.dirname(__FILE__)}/breadcrumbs.rb" module Fomantic module Ui module Sass module Rails class Engine < ::Rails::Engine initializer 'fomantic-ui-sass.assets.precompile' do |app| if ::Rails.version >= '5' || ::Sprockets::VERSION.start_with?('4') ::Rails.application.config.assets.precompile += %w[semantic-ui/*icons.*] else app.config.assets.precompile << %r{semantic-ui/(basic\.)*icons\.(?:eot|svg|ttf|woff)$} end end initializer 'fomantic-ui-sass.setup_helpers' do |app| app.config.to_prepare do ActionController::Base.include Fomantic::Ui::Sass::BreadCrumbs end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fomantic-ui-sass-2.9.3.2 | lib/fomantic/ui/sass/engine.rb |
fomantic-ui-sass-2.9.3.1 | lib/fomantic/ui/sass/engine.rb |