Sha256: b687220b705e619f7063f981c62ff4f0a67502aa49c028fb54ab18bb3474f317

Contents?: true

Size: 411 Bytes

Versions: 7

Compression:

Stored size: 411 Bytes

Contents

require 'autoprefixer-rails'
require "materialize-sass/helpers"

module Materialize
  module Rails
    class Engine < ::Rails::Engine
      initializer 'materialize-sass.assets' do |app|
        %w(stylesheets javascripts).each do |sub|
          app.config.assets.paths << root.join('assets', sub).to_s
        end
        ActionController::Base.send(:helper, Materialize::Helpers)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
materialize-sass-1.0.0 lib/materialize-sass/engine.rb
materialize-sass-1.0.0.rc2 lib/materialize-sass/engine.rb
materialize-sass-1.0.0.rc1 lib/materialize-sass/engine.rb
materialize-sass-1.0.0.beta lib/materialize-sass/engine.rb
materialize-sass-1.0.0.alpha4 lib/materialize-sass/engine.rb
materialize-sass-1.0.0.alpha3 lib/materialize-sass/engine.rb
materialize-sass-1.0.0.alpha2 lib/materialize-sass/engine.rb