toolbar_helper

This commit is contained in:
Andreas Stephanides
2013-03-18 21:06:32 +01:00
parent ab330f1c87
commit 922acf869a
2 changed files with 12 additions and 14 deletions

View File

@@ -6,5 +6,12 @@ module ApplicationHelper
current_url({:locale=>target_locale}) .sub "/"+I18n.locale.to_s+"/", "/"+target_locale.to_s+"/"
end
def toolbar_html(elemente)
html = ""
elemente.each do |e|
html =html + e + " | "
end
#html= html + "</ul>"
raw(html)
end
end