In the resource header, a structure like this:
get :browseable_indexes, "/api;type=class/:indexPath" do |r|
Will result in a path where the backslashes get escaped to %2F's. It'd be great if there were a way to keep the simple structure, but not have to muck with the backslashes.
Nevermind... figured out that this is part of the Addressable gem. To do this, you'd do:
"/api;type=class/{+indexPath}"
In the resource header, a structure like this: get :browseable_indexes, "/api;type=class/:indexPath" do |r|
Will result in a path where the backslashes get escaped to %2F's. It'd be great if there were a way to keep the simple structure, but not have to muck with the backslashes.
Nevermind... figured out that this is part of the Addressable gem. To do this, you'd do: "/api;type=class/{+indexPath}"