Sha256: 762939e49e389d780b2b16a9d7fac53b72c10907941278642a39b903712ce01b
Contents?: true
Size: 440 Bytes
Versions: 5
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true class Spree::UserAuthenticationsController < Spree::StoreController def index @authentications = spree_current_user.user_authentications if spree_current_user end def destroy @authentication = spree_current_user.user_authentications.find(params[:id]) @authentication.destroy flash[:notice] = I18n.t('spree.destroy', scope: :authentications) redirect_to spree.account_path end end
Version data entries
5 entries across 5 versions & 1 rubygems