#41: use link_to_unless_current

This commit is contained in:
Joerg Reichert 2018-04-15 15:51:43 +02:00
parent 18af85df81
commit ae04d48523

View file

@ -13,9 +13,9 @@ html
.clearfix
h1[id="title" class="left"] = link_to 'Stadtratmonitor Leipzig', search_path
div(class="right")
div(class="left") = link_to 'Suche', search_path
div(class="left header_indent") = link_to 'Glossar', glossary_url
div(class="right header_indent") = link_to 'Impressum', impressum_url
div(class="left") = link_to_unless_current 'Suche', search_path
div(class="left header_indent") = link_to_unless_current 'Glossar', glossary_url
div(class="right header_indent") = link_to_unless_current 'Impressum', impressum_url
div(class="clear")
div(class="clear")
- flash.each do |name, msg|