Sha256: dde5c3fff297dcb6c3201f3729e5823c59fb273f24157fc0a5c3af069fd7c1a3

Contents?: true

Size: 697 Bytes

Versions: 5

Compression:

Stored size: 697 Bytes

Contents

require 'comable/core'

require 'slim'
require 'bootstrap-sass'
require 'sass-rails'
require 'compass-rails'
require 'kaminari'

require 'jquery-rails'
require 'jquery-ui-rails'

require 'meta-tags'

module Comable
  module Frontend
    class Engine < ::Rails::Engine
      config.generators do |g|
        g.template_engine :slim
        g.test_framework :rspec, fixture: true
        g.fixture_replacement :factory_girl, dir: 'spec/factories'
      end

      # XXX: a code below to delegate comable:install:migrations to comable-core
      config.paths['db/migrate'] = []

      config.autoload_paths << "#{config.root}/app/controllers/concerns" if Rails::VERSION::MAJOR == 3
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
comable-frontend-0.7.1 lib/comable/frontend/engine.rb
comable-frontend-0.7.0 lib/comable/frontend/engine.rb
comable-frontend-0.7.0.beta2 lib/comable/frontend/engine.rb
comable-frontend-0.7.0.beta1 lib/comable/frontend/engine.rb
comable-frontend-0.6.0 lib/comable/frontend/engine.rb