def handcart_show_path(handcart)
      if Handcart.handcart_show_path.present?
        # Load it straight from the config
        "/#{Handcart.handcart_show_path}/#{handcart.to_param}"
      else
        if Rails.application.routes.url_helpers.respond_to?("#{Handcart.handcart_class.model_name.singular}_path".to_sym)
          # Is there one already defined
          Rails.application.routes.url_helpers.send("#{Handcart.handcart_class.model_name.singular}_path", handcart.to_param)
        else
          # Shot in the dark
          "/#{Handcart.handcart_class.model_name.route_key}/#{handcart.to_param}"
        end
      end
    end
def handcart_show_path(handcart)
      if Handcart.handcart_show_path.present?
        # Load it straight from the config
        "/#{Handcart.handcart_show_path}/#{handcart.to_param}"
      else
        if Rails.application.routes.url_helpers.respond_to?("#{Handcart.handcart_class.model_name.singular}_path".to_sym)
          # Is there one already defined
          Rails.application.routes.url_helpers.send("#{Handcart.handcart_class.model_name.singular}_path", handcart.to_param)
        else
          # Shot in the dark
          "/#{Handcart.handcart_class.model_name.route_key}/#{handcart.to_param}"
        end
      end
    end
Try to formulate a path to view the handcart show page