Module: Thredded::UserPermissions::Admin::IfAdminColumnTrue

Included in:
Thredded::UserExtender
Defined in:
app/models/thredded/user_permissions/admin/if_admin_column_true.rb

Instance Method Summary collapse

Instance Method Details

#thredded_admin?boolean

Returns Whether this user has full admin rights on Thredded.

Returns:

  • (boolean)

    Whether this user has full admin rights on Thredded.



8
9
10
# File 'app/models/thredded/user_permissions/admin/if_admin_column_true.rb', line 8

def thredded_admin?
  send(Thredded.admin_column)
end