Module: BentoSearch::NoLinks
- Defined in:
- app/item_decorators/bento_search/no_links.rb
Overview
An item decorator mix-in that just erases all links, main link and other links. May be convenient to ‘include BentoSearch::NoLinks` in your custom decorator, although you could always just write this yourself too.
Instance Method Summary collapse
Instance Method Details
#link ⇒ Object
6 7 8 |
# File 'app/item_decorators/bento_search/no_links.rb', line 6 def link nil end |
#other_links ⇒ Object
10 11 12 |
# File 'app/item_decorators/bento_search/no_links.rb', line 10 def other_links [] end |