Sha256: 2aa04794586dc36a87d00e2ee35434062dbdbae09098ff5c1a8fb458d79413d9
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cadenero-0.0.2.a | lib/cadenero/engine.rb |
cadenero-0.0.1 | lib/cadenero/engine.rb |