def anchor_to(body, location)
      current_path = url_for(only_path: false)
      path = "#{current_path}##{location}"

      link_to body, path
    end
def anchor_to(body, location)
      current_path = url_for(only_path: false)
      path = "#{current_path}##{location}"

      link_to body, path
    end
Creates an anchor link

 @param body [String] body of the link
 @param location [String] location of the anchor

 @return [String] anchor to a particular location of the current page