Browse Source

rubocop

pull/648/head
JG 3 years ago
parent
commit
3c4894e196
  1. 1
      app/helpers/navigation_items_helper.rb

1
app/helpers/navigation_items_helper.rb

@ -2,7 +2,6 @@ module NavigationItemsHelper
NavigationItem = Struct.new(:text, :href, :current, :classes)
def primary_items(path, current_user)
nav_items = []
if current_user.support?
[
NavigationItem.new("Organisations", organisations_path, organisations_current?(path)),

Loading…
Cancel
Save