Module: Zena::Use::Display::Common
- Included in:
- ImageTags, ZafuMethods
- Defined in:
- lib/zena/use/display.rb
Instance Method Summary collapse
Instance Method Details
#icon_finder ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/zena/use/display.rb', line 5 def icon_finder if rel = RelationProxy.find_by_role('icon') finder = 'icon or image' else finder = 'image' end "#{finder} group by id,l_id order by l_id desc, position asc" end |