Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.1-stable] Use alchemy_display_name for page actor names #3029

Merged
merged 1 commit into from
Sep 6, 2024

Commits on Sep 6, 2024

  1. Use alchemy_display_name for page actor names

    If you have a user class that does not implement
    name (eg. `Spree::User` or a generic `User` class)
    it would return `nil` for Page actor methods (creator,
    updater, locker).
    
    We already use `alchemy_display_name` for the current
    logged in user displayed in the admin frame.
    
    Using this for the Page actor methods to be consistant
    and allow custom user classes to present a user by it.
    
    (cherry picked from commit 00dd34e)
    tvdeyen committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    d1992e4 View commit details
    Browse the repository at this point in the history