@ -28,7 +28,7 @@ module ApplicationHelper
end
def notifications_to_display?
!request.path.match?(/^\/notifications\/\d+$/) && (authenticated_user_has_notifications? || unauthenticated_user_has_notifications?)
!request.path.match?(/\/notifications\/\d+$/) && (authenticated_user_has_notifications? || unauthenticated_user_has_notifications?)
private
@ -47,7 +47,7 @@ module NavigationItemsHelper
def home_current?(path)
path == root_path || path.match?(/^\/notifications\/\d+$/)
path == root_path || path.match?(/\/notifications\/\d+$/)
def lettings_logs_current?(path)