diff --git a/app/helpers/navigation_helper.rb b/app/helpers/navigation_helper.rb new file mode 100644 index 00000000..1b62a923 --- /dev/null +++ b/app/helpers/navigation_helper.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module NavigationHelper + + def utility_menu_link_desktop(image_path, href, alt, button_label) + render :partial => "navigation/utility_menu_link_desktop", :locals => {image_path: image_path, href: href, alt: alt, button_label: button_label} + end +end diff --git a/app/views/layouts/_utility_menu.erb b/app/views/layouts/_utility_menu.erb index ea03292f..8a3dce44 100644 --- a/app/views/layouts/_utility_menu.erb +++ b/app/views/layouts/_utility_menu.erb @@ -1,47 +1,17 @@