Project

General

Profile

« Previous | Next » 

Revision 18118f5a

Added by Ohad Levy almost 12 years ago

  • ID 18118f5abf0372dd9606356dd93c465115b9ecdc

remove unneded hidden links in the more tab

View differences:

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