mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-04 07:09:14 +00:00
Bring user and ability related files from spree_core
This commit is contained in:
5
app/models/spree/role.rb
Normal file
5
app/models/spree/role.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
module Spree
|
||||
class Role < ActiveRecord::Base
|
||||
has_and_belongs_to_many :users, join_table: 'spree_roles_users', class_name: Spree.user_class.to_s
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user