Sha256: e40ff3e990754276d4f153cc3e6d6040177969fe9d120162cc4fc1b72307b38a

Contents?: true

Size: 697 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
comable_frontend-0.5.0 lib/comable/frontend/engine.rb