Module: Zena::Use::Display::Common

Included in:
ImageTags, ZafuMethods
Defined in:
lib/zena/use/display.rb

Instance Method Summary collapse

Instance Method Details

#icon_finderObject



5
6
7
8
9
10
11
# File 'lib/zena/use/display.rb', line 5

def icon_finder
  if rel = RelationProxy.find_by_role('icon')
    "icon or image group by id,l_id order by l_id desc, position asc"
  else
    "image order by position asc"
  end
end