useful_helpers 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,7 @@ module UsefulHelpers
|
|
43
43
|
return "" if path.nil?
|
44
44
|
first_link = ["<a title=\"#{anchor}\" href=\"#{path}\">#{anchor}</a>"]
|
45
45
|
content_for :breadcrumbs do
|
46
|
-
raw "<div class=\"breadcrumbs\">#{(first_link+links).flatten.join(delimiter)}</div>"
|
46
|
+
raw "<div class=\"breadcrumbs\">#{(first_link+links).flatten.compact.join(delimiter)}</div>"
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|