Sha256: baf94033229b195f3572028481d4490194d6fa2cd4373627dde2b4df0aa69483
Contents?: true
Size: 423 Bytes
Versions: 22
Compression:
Stored size: 423 Bytes
Contents
module Katello module Concerns module RegistrationControllerExtensions extend ActiveSupport::Concern included do before_action :format_activation_key, only: [:create] end def format_activation_key return if params[:activation_key].blank? params[:activation_key] = params[:activation_key].split(',').map(&:strip).reject(&:blank?).join(',') end end end end
Version data entries
22 entries across 22 versions & 1 rubygems