Sha256: d8339239a08d513842639b47fe8c0bf9e3eabc27360b3b63175a3875de8b67a8

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

module Stachio
  class Engine < ::Rails::Engine
    isolate_namespace Stachio

    require 'lookup_by'
    require "jquery-rails"

    require "mustache"
    require "stache"     ## use mustache/handlebars for views
    Stache.use :mustache

    config.readonly = (defined?(Rails) && Rails.env.production?) ? true : false

    config.generators do |g|
      g.test_framework :rspec
      g.integration_tool :rspec
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stachio-0.0.6 lib/stachio/engine.rb
stachio-0.0.5 lib/stachio/engine.rb