Sha256: 4e7b19084f902772ed960cfa0513dd9522f28487ab38a7444e3614cfeb3f2dac

Contents?: true

Size: 708 Bytes

Versions: 6

Compression:

Stored size: 708 Bytes

Contents

require 'jquery-rails'
require 'turbolinks'
require 'semantic-ui-sass'
require 'simple_form'
require 'momentjs-rails'

module SemanticRailsUi
  class Engine < ::Rails::Engine
    initializer :append_dependent_assets_path, :group => :all do |app|
      engine_root = Semantic::Ui::Sass::Rails::Engine.root
      app.config.assets.paths.push File.join(engine_root, 'app/assets/javascripts')
      app.config.assets.paths.push File.join(engine_root, 'app/assets/stylesheets')
    end

    config.app_generators do |g|
      g.templates.unshift File::expand_path('../../templates', __FILE__)
      g.stylesheets false
      g.javascripts false
      g.helper false
      g.test_framework false
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
semantic-rails-ui-0.2.4 lib/semantic-rails-ui/engine.rb
semantic-rails-ui-0.2.3 lib/semantic-rails-ui/engine.rb
semantic-rails-ui-0.2.2 lib/semantic-rails-ui/engine.rb
semantic-rails-ui-0.2.1 lib/semantic-rails-ui/engine.rb
semantic-rails-ui-0.2.0 lib/semantic-rails-ui/engine.rb
semantic-rails-ui-0.1.0 lib/semantic-rails-ui/engine.rb