Difference between revisions of "Spree"

From Wasya Wiki
Jump to: navigation, search
(Troubleshoot)
Line 12: Line 12:
  
 
== Troubleshoot ==
 
== Troubleshoot ==
Attach your own cancan ability:
+
 
 +
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

Troubleshoot

Register your own cancan ability in the initializer:

Spree::Ability.register_ability(YourAbilityClass)