app/models/spotlight/ability.rb in blacklight-spotlight-0.17.1 vs app/models/spotlight/ability.rb in blacklight-spotlight-0.18.0
- old
+ new
@@ -24,10 +24,11 @@
Spotlight::Attachment,
Spotlight::Search,
Spotlight::Resource,
Spotlight::Page,
Spotlight::Contact,
- Spotlight::CustomField], exhibit_id: user.exhibit_roles.pluck(:resource_id)
+ Spotlight::CustomField
+ ], exhibit_id: user.exhibit_roles.pluck(:resource_id)
can :manage, Spotlight::Lock, by: user
can [:read, :curate, :tag], Spotlight::Exhibit, id: user.exhibit_roles.pluck(:resource_id)