1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/controllers/settings/telegram_contacts_controller.rb
2018-12-12 05:34:30 +05:00

13 lines
384 B
Ruby

# frozen_string_literal: true
class Settings::TelegramContactsController < ApplicationController
# GET /settings/telegram_contacts
def index
authorize %i[settings account_telegram_contact]
@account_telegram_contacts = policy_scope(
current_account.account_telegram_contacts,
policy_scope_class: Settings::AccountTelegramContactPolicy::Scope,
)
end
end