Skip to content

Commit

Permalink
chore[#50499]: Remove unreachable if path
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-braeunlein committed Nov 1, 2023
1 parent 321ee64 commit 6278a20
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/helpers/breadcrumb_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ def full_breadcrumbs
end

def breadcrumb_paths(*args)
if args.nil?
nil
elsif args.empty?
if args.empty?
@breadcrumb_paths ||= [default_breadcrumb]
else
@breadcrumb_paths ||= []
Expand Down

0 comments on commit 6278a20

Please sign in to comment.