Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7786087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:21:36+00:00 2026-06-01T20:21:36+00:00

Having a routing issue, should be really simple but seems straightforward and just not

  • 0

Having a routing issue, should be really simple but seems straightforward and just not working:

match '/api/get-locations-by-distance/:latitude/:longitude' => 'api#get_locations_by_distance'

with this call:

http://localhost:3000/api/get-locations-by-distance/34.035645/-118.233434

thx for any ideas

edit #1
If I update it to the following:

match '/api/get-locations-by-distance/:latitude/:longitude/:stub' => 'api#get_locations_by_distance'

and

http://localhost:3000/api/get-locations-by-distance/34.035645/-118.233434/stub

It still doesn’t work.

edit #2
I tried adding the :format => false but this doens’t seem to help either.

match ‘/api/get-locations-by-distance/:latitude/:longitude’ => ‘api#get_locations_by_distance’, :format => false

with

http://localhost:3000/api/get-locations-by-distance/34.035645/-118.233434
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:21:37+00:00Added an answer on June 1, 2026 at 8:21 pm

    It thinks that .233434 is format

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just upgraded our app to Rails 3.2.2 and are now having a routing
I'm having what I think is a routing issue. Here's my route: context.MapRoute (
I'm having a really strange issue with named helpers. So let's start off with
I am having an issue with my reportviewer where nothing is visible, not even
I am having trouble getting routing to work on mono. The default route works
I am having some trouble getting Elmah to work with url routing in an
UPDATE: Seems that railo doesn't have this issue at all. UPDATE: I'm voting to
I'm having difficulty with the concept of Routing within the ASP.NET MVC Framework. For
I am having trouble deciphering these error messages from g++ ../upenn-cis553/ls-routing-protocol/ls-routing-protocol.cc:533:29: error: variable ‘ns3::Ipv4RoutingTableEntry
I am having an issue with the StrToFloat routine. I am running Delphi 7

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.