Difference between revisions of "Spree"
From Wasya Wiki
(→Troubleshoot) |
|||
Line 12: | Line 12: | ||
== Troubleshoot == | == Troubleshoot == | ||
− | + | ||
+ | Register your own cancan ability in the initializer: | ||
+ | |||
Spree::Ability.register_ability(YourAbilityClass) | Spree::Ability.register_ability(YourAbilityClass) |
Revision as of 19:23, 19 October 2022
The frontend was removed in Spree 4, here is the one from Spree 3:
The new frontend:
Tutorials
- https://dev-docs.spreecommerce.org/advanced/existing_app_tutorial
- https://dev-docs.spreecommerce.org/customization/authentication
Troubleshoot
Register your own cancan ability in the initializer:
Spree::Ability.register_ability(YourAbilityClass)