-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
Showing
3 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters