forked from bofh/fetsite
toolbar_helper
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user