~cytrogen/masto-fe

ref: bca649ba79ee4fcb33e04084dbd7aa5d275adbf7 masto-fe/app/controllers/settings/verifications_controller.rb -rw-r--r-- 274 bytes
bca649ba — Eugen Rochko Change edit profile page (#25413) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class Settings::VerificationsController < Settings::BaseController
  before_action :set_account

  def show
    @verified_links = @account.fields.select(&:verified?)
  end

  private

  def set_account
    @account = current_account
  end
end