Switch to Bootstrap 4

This commit is contained in:
pfischbeck committed 2019-12-23 17:49:54 +01:00
1 parent f28cade211
commit f08254ffef
26 files changed
+207 -120

No files matched your search

+8
View File
@@ -27,4 +27,12 @@ module ApplicationHelper
page_title + ' - ' + base_title
end
end
def nav_link_to(body, url)
nav_options = { class: current_page?(url) ? 'nav-item active': 'nav-item' }
content_tag(:li, nav_options) do
link_to body, url, class: 'nav-link'
end
end
end