Sha256: 170ea4809357cde8850d7bdd888354371182dd16cb2e5be98fdf214dbf655a2a

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

module SiteFramework
  # **SiteFramework** rails engine class.
  class Engine < ::Rails::Engine

    isolate_namespace SiteFramework
    engine_name 'site_framework'

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


    mattr_accessor :default_domains do
      ['localhost']
    end

    # This option allows developers to specify the prefix of path
    # which they wanted to prepend to view_paths array
    mattr_accessor :view_path_prefix do
      'app/views'
    end

    mattr_accessor :use_uuid do
      false
    end

    def self.setup
      yield self
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
site_framework-4.3.3 lib/site_framework/engine.rb
site_framework-4.3.2 lib/site_framework/engine.rb
site_framework-4.3.1 lib/site_framework/engine.rb
site_framework-4.3.0 lib/site_framework/engine.rb