Sha256: 384d06a2e367672179db8c4ff496ba1766379ea8c6dfba75b708b72718fada08
Contents?: true
Size: 793 Bytes
Versions: 24
Compression:
Stored size: 793 Bytes
Contents
require File.dirname(__FILE__) + '/breadcrumbs.rb' module Semantic module Ui module Sass module Rails class Engine < ::Rails::Engine initializer "semantic-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 'semantic-ui-sass.setup_helpers' do |app| app.config.to_prepare do ActionController::Base.send :include, Semantic::Ui::Sass::BreadCrumbs end end end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems