molten-trunk/molten5_withgrid/app/models/sfcatnode.rb
# Overwrites the root category's name to display "All Categories".
Overwrites the root category's name to display "All Categories".
Overwrites the root category ' s name to display " All Categories " .
def name
    if id == Sfcatnode.root.id
      "All Categories"
    else
      read_attribute('master_label')
    end
  end
def name if id == Sfcatnode . root . id "All Categories" else read_attribute ( 'master_label' ) end end
Overwrites the root category's name to display "All Categories".
Overwrites the root category ' s name to display " All Categories " .