mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
removed unnecessary code
This commit is contained in:
parent
e553909755
commit
b20912c52e
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue