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
def lettings_logs_current?(path)
path.starts_with?("/lettings-logs")
path == lettings_logs_path
end
def sales_logs_current?(path)
path.starts_with?("/sales-logs")
path == sales_logs_path
end
def users_current?(path)

Loading…
Cancel
Save