Sha256: 14ef1d87d3998f2f74e25c27039ab4e79933f61ec0b91c0fc401b6d702067736

Contents?: true

Size: 885 Bytes

Versions: 15

Compression:

Stored size: 885 Bytes

Contents

# require 'pry'
# require 'pry-nav'
require 'mtdevise/active_record_extensions'
require 'mtdevise/scoped_to'
require 'devise'
require 'houser'
require 'simple_form'
require 'jquery-rails'
require 'sass-rails'
require 'bootstrap-sass'
require 'font-awesome-rails'
require 'rolify'
require 'simple_token_authentication'
require 'gravtastic'

module Mtdevise
	class Engine < ::Rails::Engine
		isolate_namespace Mtdevise

		initializer 'mtdevise.middleware.houser' do
			Rails.application.config.middleware.use Houser::Middleware, :class_name => 'Mtdevise::Account'
		end

		config.generators do |g|
			g.test_framework :rspec, :view_specs => false
		end

		config.to_prepare do
			root = Mtdevise::Engine.root
			extenders_path = root + "app/extenders/**/*.rb"
			Dir.glob(extenders_path) do |file|
				Rails.configuration.cache_classes ? require(file) : load(file)
			end
		end

	end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mtdevise-1.8.6 lib/mtdevise/engine.rb
mtdevise-1.8.5 lib/mtdevise/engine.rb
mtdevise-1.8.0 lib/mtdevise/engine.rb
mtdevise-1.7.11 lib/mtdevise/engine.rb
mtdevise-1.7.8 lib/mtdevise/engine.rb
mtdevise-1.7.5 lib/mtdevise/engine.rb
mtdevise-1.7.1 lib/mtdevise/engine.rb
mtdevise-1.7.0 lib/mtdevise/engine.rb
mtdevise-1.6.6 lib/mtdevise/engine.rb
mtdevise-1.6.5 lib/mtdevise/engine.rb
mtdevise-1.6.3 lib/mtdevise/engine.rb
mtdevise-1.6.0 lib/mtdevise/engine.rb
mtdevise-1.5.3 lib/mtdevise/engine.rb
mtdevise-1.5.2 lib/mtdevise/engine.rb
mtdevise-1.5.0 lib/mtdevise/engine.rb