lib/faalis/engine.rb in faalis-2.0.0 vs lib/faalis/engine.rb in faalis-2.0.1

- old
+ new

@@ -24,11 +24,10 @@ # `Engine` class of **Faalis**. class Engine < ::Rails::Engine extend Faalis::Configuration - # TODO: Break this class to modules # TODO: Add a facility to allow developers to select # features of faalis isolate_namespace Faalis engine_name 'faalis' @@ -44,25 +43,21 @@ g.integration_tool :rspec g.assets false g.helper false end - def self.setup yield self end - - # Override devise layout config.to_prepare do Devise::SessionsController.layout 'faalis/simple' Devise::RegistrationsController.layout 'faalis/simple' Devise::ConfirmationsController.layout 'faalis/application' Devise::UnlocksController.layout 'faalis/application' Devise::PasswordsController.layout 'faalis/application' end - middleware.use Faalis::Middlewares::Locale end end