Module: SmartListHelper

Defined in:
lib/smart_list_helper.rb

Instance Method Summary collapse

Instance Method Details

#render_list(list) ⇒ Object



4
5
6
# File 'lib/smart_list_helper.rb', line 4

def render_list(list)
  
end


8
9
10
# File 'lib/smart_list_helper.rb', line 8

def smart_list_links(item, options = {:uplink => {:text => "↑", :class => nil}, :downlink => {:text => "↓", :class => nil}})
  render :partial => "/smart_links/move_links", :locals => {:item => item, :options => options}
end