From 91ea937de9225a7bc748f51470eb6c7f3397e0c8 Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Sat, 9 Oct 2010 04:24:02 +0100 Subject: Link to Atom JSON equivalents in HTTP header. Document. --- app/controllers/user_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/user_controller.rb') diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 288e1cc20..1fa3a1778 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -40,7 +40,7 @@ class UserController < ApplicationController # Track corresponding to this page @track_thing = TrackThing.create_track_for_user(@display_user) - @feed_autodetect = [ { :url => do_track_url(@track_thing, 'feed'), :title => @track_thing.params[:title_in_rss] } ] + @feed_autodetect = [ { :url => do_track_url(@track_thing, 'feed'), :title => @track_thing.params[:title_in_rss], :has_json => true } ] # All tracks for the user if @is_you -- cgit v1.2.3