Sha256: cf6587f2628f7236ca94aca7fb434958cc1c90f84379b791a3b55babea85de6e
Contents?: true
Size: 799 Bytes
Versions: 11
Compression:
Stored size: 799 Bytes
Contents
module LoldesignPublisher module Rails class Engine < ::Rails::Engine initializer "static assets" do |app| app.middleware.use ::ActionDispatch::Static, "#{root}/public" end initializer 'config' do |app| LoldesignPublisher.root_path = app.root LoldesignPublisher.read_config() app.config.assets.precompile += %w(loldesign_publisher/publisher.css loldesign_publisher/publisher.js) end config.to_prepare do ApplicationController.helper(LoldesignPublisher::PublisherHelper) end config.generators do |g| g.test_framework :rspec, :fixture => false g.fixture_replacement :factory_girl, :dir => 'spec/factories' g.assets false g.helper false end end end end
Version data entries
11 entries across 11 versions & 1 rubygems