Delete non-existing method "organization" from user_dashboard model (#6989)
This commit is contained in:
parent
217ee6c3f4
commit
6ce09c2c87
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue