sinatra-resources
sinatra-resources copied to clipboard
Feature requestish: common member route requirements
Would it be possible to somehow do the following:
resource :thingamaboo do
member do |id|
@thingamaboo = Thingamaboo.get(id)
get do
# do something with @thingamaboo
end
end
end