verifications_controller.rb 274 B

123456789101112131415
  1. # frozen_string_literal: true
  2. class Settings::VerificationsController < Settings::BaseController
  3. before_action :set_account
  4. def show
  5. @verified_links = @account.fields.select(&:verified?)
  6. end
  7. private
  8. def set_account
  9. @account = current_account
  10. end
  11. end