def sitemap_routes(sitemap_route)
      list = []

      if sitemap_route

        # if the sitemap defined within config/routes.rb included a block, then, return ALL of the rows associated with
        # sitemap route name.  Otherwise, return ALL routes that have NOT BEEN associated with any other sitemap.
        if sitemap_route.sitemap_with_block?

          # sitemap_route_name MUST MATCH
          #list = self.routes.find_all {|route| !route.is_sitemap? && route.sitemap_route_name.eql?(sitemap_route.sitemap_route_name)}
          list = self.routes.find_all do |route|
            !route.is_sitemap? && route.sitemap_route_name.eql?(sitemap_route.sitemap_route_name)
          end

        else

          candidates = self.routes.find_all {|route| !route.is_sitemap?}
          potential_owners = self.routes.find_all {|route| route.is_sitemap?}
          potential_owners.sort! { |a,b| b.namespace_prefix_underscores <=> a.namespace_prefix_underscores}

          candidates.each do |candidate|

            value = nil
            potential_owners.each do |owner|

              if (!candidate.sitemap_route_name.blank? && owner.sitemap_route_name.eql?(candidate.sitemap_route_name))

                value = owner
                break

              elsif (!owner.namespace_prefix.blank? &&
                      candidate.name =~ /^#{owner.namespace_prefix}/ &&
                      !owner.sitemap_with_block?)

                value = owner
                break
              end

              if value.blank?
                potential_owners.each do |owner|
                  if (owner.namespace_prefix.blank? && !owner.sitemap_with_block?)

                    value = owner
                    break

                  end
                end
              end

            end

            if !value.blank? && value.name.eql?(sitemap_route.name)
              list.push(candidate)
            end

          end

          list.reject! {|route| !self.include_route?(route)}

        end

      end

      list.reject! {|route| route.path.spec =~ %r{/rails/info/properties|^/assets}}
      list.reject! {|route| route.name.eql?("rails_info")}
      list.reject! {|route| !route.is_available?}

      return list
    end
def sitemap_routes(sitemap_route)
      list = []

      if sitemap_route

        # if the sitemap defined within config/routes.rb included a block, then, return ALL of the rows associated with
        # sitemap route name.  Otherwise, return ALL routes that have NOT BEEN associated with any other sitemap.
        if sitemap_route.sitemap_with_block?

          # sitemap_route_name MUST MATCH
          #list = self.routes.find_all {|route| !route.is_sitemap? && route.sitemap_route_name.eql?(sitemap_route.sitemap_route_name)}
          list = self.routes.find_all do |route|
            !route.is_sitemap? && route.sitemap_route_name.eql?(sitemap_route.sitemap_route_name)
          end

        else

          candidates = self.routes.find_all {|route| !route.is_sitemap?}
          potential_owners = self.routes.find_all {|route| route.is_sitemap?}
          potential_owners.sort! { |a,b| b.namespace_prefix_underscores <=> a.namespace_prefix_underscores}

          candidates.each do |candidate|

            value = nil
            potential_owners.each do |owner|

              if (!candidate.sitemap_route_name.blank? && owner.sitemap_route_name.eql?(candidate.sitemap_route_name))

                value = owner
                break

              elsif (!owner.namespace_prefix.blank? &&
                      candidate.name =~ /^#{owner.namespace_prefix}/ &&
                      !owner.sitemap_with_block?)

                value = owner
                break
              end

              if value.blank?
                potential_owners.each do |owner|
                  if (owner.namespace_prefix.blank? && !owner.sitemap_with_block?)

                    value = owner
                    break

                  end
                end
              end

            end

            if !value.blank? && value.name.eql?(sitemap_route.name)
              list.push(candidate)
            end

          end

          list.reject! {|route| !self.include_route?(route)}

        end

      end

      list.reject! {|route| route.path.spec =~ %r{/rails/info/properties|^/assets}}
      list.reject! {|route| route.name.eql?("rails_info")}
      list.reject! {|route| !route.is_available?}

      return list
    end
Builds a list of routes associated with a sitemap route.  The actual list of routes returned is based
 on {DuckMap::Route#sitemap_route_name sitemap_route_name}, which is the named
 route of the sitemap.
 @note See {DuckMap::Mapper#sitemap} for a full explanation of how to define a sitemap and how those rules affect this method.
 @param [String] sitemap_route A sitemap route.
 @return [Array]