Delete non-existing method "organization" from user_dashboard model (#6989)

This commit is contained in:
Arit Amana 2020-04-01 13:59:13 -04:00 committed by GitHub
parent 217ee6c3f4
commit 6ce09c2c87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,6 @@ class UserDashboard < Administrate::BaseDashboard
# which determines how the attribute is displayed
# on pages throughout the dashboard.
ATTRIBUTE_TYPES = {
organization: Field::BelongsTo,
id: Field::Number,
name: Field::String,
profile_image: CarrierwaveField,
@ -67,7 +66,6 @@ class UserDashboard < Administrate::BaseDashboard
# an array of attributes that will be displayed
# on the model's form (`new` and `edit`) pages.
FORM_ATTRIBUTES = %i[
organization
name
username
twitter_username