lib/cadenero/engine.rb in cadenero-0.0.2.a3 vs lib/cadenero/engine.rb in cadenero-0.0.2.b1
- old
+ new
@@ -1,7 +1,7 @@
require 'warden'
module Cadenero
-
+ # Defines Cadenero as a Rails Engine using the passworf strategy as default for Warden
class Engine < ::Rails::Engine
isolate_namespace Cadenero
config.middleware.use Warden::Manager do |manager|
manager.default_strategies :password
end