Revision 18118f5a
Added by Ohad Levy almost 12 years ago
- ID 18118f5abf0372dd9606356dd93c465115b9ecdc
app/helpers/home_helper.rb | ||
---|---|---|
|
||
#prevent adjacent dividers
|
||
last_item = nil
|
||
choices = choices.map! do |item|
|
||
choices = choices.map do |item|
|
||
if item == [:divider]
|
||
if last_item
|
||
last_item = nil
|
Also available in: Unified diff
remove unneded hidden links in the more tab