Sha256: de9658fdbac377fb2be3d87e286da82683089a8e1b589807c5557573faf8b077
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true module Archangel ## # @see Archangel::AuthController # module Auth ## # Authentication invitations controller # class InvitationsController < Devise::InvitationsController before_action :configure_permitted_parameters, if: :devise_controller? protected def configure_permitted_parameters devise_parameter_sanitizer.permit(:accept_invitation, keys: %i[name username]) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.4.0 | app/controllers/archangel/auth/invitations_controller.rb |