Sha256: edecfd9ccfd239da697dbc076d4aa119963d828775dfc46b6b41064948ef51e3
Contents?: true
Size: 791 Bytes
Versions: 24
Compression:
Stored size: 791 Bytes
Contents
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.send :include, Fomantic::Ui::Sass::BreadCrumbs end end end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems