Sha256: 027861b7cd9fe7558642b2dcf62b0bc08b526cd37b3ced7eb6d3fadef26dec0c
Contents?: true
Size: 739 Bytes
Versions: 3
Compression:
Stored size: 739 Bytes
Contents
require 'warden' module Cadenero class Engine < ::Rails::Engine isolate_namespace Cadenero config.middleware.use Warden::Manager do |manager| manager.default_strategies :password end config.generators do |g| g.test_framework :rspec g.integration_tool :rspec end config.to_prepare do root = Cadenero::Engine.root extenders_path = root + "app/extenders/**/*.rb" Dir.glob(extenders_path) do |file| Rails.configuration.cache_classes ? require(file) : load(file) end end config.middleware.use ActionDispatch::Cookies config.middleware.use ActionDispatch::Session::CookieStore end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cadenero-0.0.2.a3 | lib/cadenero/engine.rb |
cadenero-0.0.2.a2 | lib/cadenero/engine.rb |
cadenero-0.0.2.a1 | lib/cadenero/engine.rb |