lib/gretel/trails/patches/renderer.rb
# Returns encoded trail for the breadcrumb.
Returns encoded trail for the breadcrumb.
Returns encoded trail for the breadcrumb .
def trail
    @trail ||= begin
      transformed_links = links.dup
      if transform_current_path && transformed_links.any? && request
        transformed_links.last.url = request.fullpath
      end
      Gretel::Trails.encode(transformed_links)
    end
  end
def trail @trail ||= begin transformed_links = links . dup if transform_current_path && transformed_links . any? && request transformed_links . last . url = request . fullpath end Gretel :: Trails . encode ( transformed_links ) end end
Returns encoded trail for the breadcrumb.
Returns encoded trail for the breadcrumb .