Class: Biovision::Components::TestimonialsComponent
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- Biovision::Components::TestimonialsComponent
- Defined in:
- app/services/biovision/components/testimonials_component.rb
Overview
Handler for testimonials component
Constant Summary collapse
- SLUG =
'testimonials'
Instance Method Summary collapse
Instance Method Details
#allow?(options = {}) ⇒ Boolean
9 10 11 |
# File 'app/services/biovision/components/testimonials_component.rb', line 9 def allow?( = {}) UserPrivilege.user_has_privilege?(user, :testimonials_manager) end |