I am using a named route, like /abc.
I have put...
respond_to do |format|
format.json (render :json => @variable)
But when I do /abc.json, it doesn't work.
Do you need /abc.:format in routes.rb for this?
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks