-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Class Resources, call
#to_s
for defined resource_name
If using a class as the resource: resource Order do end The resource_name will be a class, which causes issues when sorting for sections. By calling `#to_s` on the `args.first` when first dealing with the resource we can ensure that we are always working with a string for the resource_name.
- Loading branch information
1 parent
2c8f4df
commit 64cfcf5
Showing
2 changed files
with
9 additions
and
2 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