removed unnecessary code

This commit is contained in:
Giga Chubinidze 2023-05-24 02:54:05 +04:00
parent e553909755
commit b20912c52e

View file

@ -67,9 +67,4 @@ module Breadcrumbs
archived: my_module.archived?
})
end
def archived_state
archived_exists = @breadcrumbs_items.any? { |item| item[:archived] }
archived_exists || request.fullpath.include?('archived')
end
end