Sha256: 6efbbc14f8f07aa44469f3fbfb78c9d590f885ecd9e679f2dd597a6e5ca8a3fb

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

    config.to_prepare do
      Devise::SessionsController.layout 'admin'
      Devise::RegistrationsController.layout proc { |controller| user_signed_in? ? 'application' : 'admin' }
      Devise::ConfirmationsController.layout 'admin'
      Devise::UnlocksController.layout 'admin'
      Devise::PasswordsController.layout 'admin'
    end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/install_devise/application.rb
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/install_devise/application.rb
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/install_devise/application.rb
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/install_devise/application.rb
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/install_devise/application.rb