updated so tag listing works. find_by_title instead of id

This commit is contained in:
Espen Antonsen 2010-08-07 13:30:53 +02:00
parent dfd2cf079c
commit 7c48fa7a09
3 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ module ApplicationHelper
#links = "You are here: "
links = content_tag('a', "HOME", :href => "/") if include_home
nocrumb = ["collections", "albums", "photos", "tags", "new", "edit"]
nocrumb = ["collections", "albums", "photos", "tags", "new", "edit", "tags"]
levels.each_with_index do |level, index|
level = level.gsub(/^[0-9]+\-/,"") #if levels[index-1] == "photos"