Module: Decidim::AccountHelper

Defined in:
app/helpers/decidim/account_helper.rb

Instance Method Summary collapse

Instance Method Details

#has_authorizations?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/helpers/decidim/account_helper.rb', line 5

def has_authorizations?
  Authorization.where(user: current_user).any?
end