Sha256: e19f4cfdd76776367afc72e6d647450a0e37d8812bd5b098c339a436a4ddc762
Contents?: true
Size: 683 Bytes
Versions: 4
Compression:
Stored size: 683 Bytes
Contents
require 'jquery-rails' require 'turbolinks' require 'semantic-ui-sass' require 'simple_form' 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
4 entries across 4 versions & 1 rubygems