Skip to content

Commit

Permalink
Cleanup - remove superfluous method
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski committed Oct 17, 2023
1 parent 2075114 commit 63e847e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/spree/admin/main_menu/root.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ class Root < Section
def initialize
super('root', 'root', nil, nil, [])
end

def add_to_section(section_key, item)
@items.find { |e| e.key == section_key }.add_item(item)
end
end
end
end
Expand Down

0 comments on commit 63e847e

Please sign in to comment.