Sha256: 9725505aed0c9138c4488014c740575ba926bfd99fded5bac19993765fb25f35

Contents?: true

Size: 445 Bytes

Versions: 85

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module System
    module Devise
      # Custom Sessions controller for Devise in order to use a custom layout
      # and views.
      class SessionsController < ::Devise::SessionsController
        include Decidim::LocaleSwitcher

        helper Decidim::DecidimFormHelper

        layout "decidim/system/login"

        private

        def current_organization; end
      end
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
decidim-system-0.13.0 app/controllers/decidim/system/devise/sessions_controller.rb
decidim-system-0.12.1 app/controllers/decidim/system/devise/sessions_controller.rb
decidim-system-0.13.0.pre1 app/controllers/decidim/system/devise/sessions_controller.rb
decidim-system-0.12.0 app/controllers/decidim/system/devise/sessions_controller.rb
decidim-system-0.12.0.pre app/controllers/decidim/system/devise/sessions_controller.rb