Browse Source

Fix lettings_logs_current and sales_logs_current checks in navigation items helper

pull/2062/head
Rachael Booth 3 years ago
parent
commit
985e491c58
  1. 4
      app/helpers/navigation_items_helper.rb

4
app/helpers/navigation_items_helper.rb

@ -45,11 +45,11 @@ module NavigationItemsHelper
private private
def lettings_logs_current?(path) def lettings_logs_current?(path)
path.starts_with?("/lettings-logs") path == lettings_logs_path
end end
def sales_logs_current?(path) def sales_logs_current?(path)
path.starts_with?("/sales-logs") path == sales_logs_path
end end
def users_current?(path) def users_current?(path)

Loading…
Cancel
Save