Sha256: e8b5458e322bb8d258d95a3455097acba47a68db469d90041520cd568a75d8e0

Contents?: true

Size: 590 Bytes

Versions: 42

Compression:

Stored size: 590 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|
            app.config.assets.precompile << %r(semantic-ui\/(basic\.)*icons\.(?:eot|svg|ttf|woff)$)
          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

42 entries across 42 versions & 1 rubygems

Version Path
semantic-ui-sass-0.9.2.0 lib/semantic/ui/sass/engine.rb
semantic-ui-sass-0.9.1.0 lib/semantic/ui/sass/engine.rb