Skip to content

Commit

Permalink
fixes #26394 - fix layout crash w/nested taxonomies
Browse files Browse the repository at this point in the history
(cherry picked from commit c8e0380)
  • Loading branch information
glekner authored and tbrisker committed Mar 24, 2019
1 parent 1d52445 commit bbd1a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/layout_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ def available_locations
end

def current_organization
Organization&.current&.name
Organization&.current&.title
end

def current_location
Location&.current&.name
Location&.current&.title
end

def fetch_organizations
Expand Down

0 comments on commit bbd1a9f

Please sign in to comment.