Ticket #118 (closed defect: wontfix)
Camping can't seem to recognize routes like /things;some_aspect
| Reported by: | mdaines | Owned by: | why |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | camping.rb | Version: | |
| Keywords: | rest | Cc: |
Description
Here's a simple app:
Camping.goes :Restish
module Restish::Controllers
class ThingsCollection < R '/things'
def get
"a list of all the things"
end
end
class ThingsCollectionSomeAspect < R '/things;some_aspect'
def get
"well, it's something different"
end
end
end
If you ask for /things;some_aspect, you'll just get what you expect for /things. I really haven't done any digging, and though I've been following the feeds, I haven't seen anything. (This is with rev. 177.) All I know is:
"/things;some_aspect" =~ /\/things;some_aspect\/?/
is not nil...
Change History
Note: See
TracTickets for help on using
tickets.
