09 Oct '13, 4pm
Sinatra using respond_to with url extensions (.json)
Sinatra using respond_to with url extensions (.json) Posted by danmayer on October 09, 2013 — 0 comments I had some issues using respond_to in Sinatra using Sinatra-Contrib. The respond_to method didn't handle url format extensions in the way I expected, instead requiring explicit accepts headers. Sharing my work around for sinatra url format extensions . Is there a better way?