|
|
|
@ -426,10 +426,9 @@ module ApplicationHelper |
|
|
|
|
elements = args.flatten |
|
|
|
|
cutme_elements = [] |
|
|
|
|
breadcrumb_elements = [content_tag(:li, elements.shift.to_s, :style => 'list-style-image:none;')] |
|
|
|
|
breadcrumb_elements << content_tag(:li, elements.shift.to_s) if elements.first |
|
|
|
|
|
|
|
|
|
if elements.size > 2 |
|
|
|
|
normal_elements = elements.pop(2) |
|
|
|
|
normal_elements = elements.pop(3) |
|
|
|
|
cutme_elements = elements |
|
|
|
|
else |
|
|
|
|
normal_elements = elements |
|
|
|
|