Sha256: 32adf20c386bd7377c542b0c4055e628372dfe48707adf3711fe5690ab797917

Contents?: true

Size: 385 Bytes

Versions: 8

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true

module Archangel
  ##
  # Authentication base controller
  #
  class AuthController < ApplicationController
    before_action :configure_permitted_parameters

    protected

    def layout_from_theme
      "auth"
    end

    def configure_permitted_parameters
      devise_parameter_sanitizer.permit(:sign_up, keys: %i[name username])
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 app/controllers/archangel/auth_controller.rb
archangel-0.0.8 app/controllers/archangel/auth_controller.rb
archangel-0.0.7 app/controllers/archangel/auth_controller.rb
archangel-0.0.6 app/controllers/archangel/auth_controller.rb
archangel-0.0.5 app/controllers/archangel/auth_controller.rb
archangel-0.0.4 app/controllers/archangel/auth_controller.rb
archangel-0.0.3 app/controllers/archangel/auth_controller.rb
archangel-0.0.2 app/controllers/archangel/auth_controller.rb