Sha256: b4b45d43511a21799cb4155935bbbca6e1d436e12be2a0127659493fa199e5ef
Contents?: true
Size: 942 Bytes
Versions: 1
Compression:
Stored size: 942 Bytes
Contents
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 'gravtastic' require 'simple_token_authentication' 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 # Load Helper Files config.to_prepare do ApplicationController.helper(ApplicationHelper) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mtdevise-2.0.2 | lib/mtdevise/engine.rb |