Sha256: 5d9264162599738576820450fac578a3b41b3a478928379a2a978773bf653e65

Contents?: true

Size: 466 Bytes

Versions: 8

Compression:

Stored size: 466 Bytes

Contents

module Alchemy
  class PasswordsController < Devise::PasswordsController

    before_filter { enforce_ssl if ssl_required? && !request.ssl? }
    before_filter :set_translation

    layout 'alchemy/admin'

    helper 'Alchemy::Admin::Base'

  private

    # Override for Devise method
    def new_session_path(resource_name)
      alchemy.login_path
    end

    def edit_password_url(resource, options={})
      alchemy.edit_password_url(options)
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/controllers/alchemy/passwords_controller.rb
alchemy_cms-2.5.3 app/controllers/alchemy/passwords_controller.rb
alchemy_cms-2.5.2.2 app/controllers/alchemy/passwords_controller.rb
alchemy_cms-2.5.2.1 app/controllers/alchemy/passwords_controller.rb
alchemy_cms-2.5.2 app/controllers/alchemy/passwords_controller.rb
alchemy_cms-2.5.1 app/controllers/alchemy/passwords_controller.rb
alchemy_cms-2.5.0 app/controllers/alchemy/passwords_controller.rb
alchemy_cms-2.5.0.rc3 app/controllers/alchemy/passwords_controller.rb