Skip to content

Using a Spree.user_class other than 'User' causes users/index view to break #4010

Description

@incorvia

Using a Spree.user_class other than 'User' (e.g. Account) causes users/index view to break because the method link_to_edit uses a polymorphic method of determining the URL helper and it results in 'undefined method edit_admin_account_url' error. It appears like Solidus needs this edit_admin_user_url.

Solidus Version:
2.11.7

To Reproduce
Setup Spree to use a user_class called 'Account' and visit the admin users index page. It will error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugError, flaw or fault

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions