openSUSE/osem

View on GitHub
app/controllers/openids_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class OpenidsController < ApplicationController
  load_and_authorize_resource :user
  load_and_authorize_resource through: :user

  def destroy
    @openid.destroy
    redirect_back(fallback_location: root_path)
  end
end