Sha256: 80579b7096a9ef19b6d87fb26cbd91c2464d1956b1a9b507fae2a6ef185a6427

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

class Spree::UserAuthenticationsController < ApplicationController
  def index
    @authentications = current_user.user_authentications if current_user
  end

  def destroy
    @authentication = current_user.user_authentications.find(params[:id])
    @authentication.destroy
    flash[:notice] = "Successfully destroyed authentication method."
    redirect_to account_path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_social_onr-2.1.4 app/controllers/spree/user_authentications_controller.rb