diff options
author | Francis Irving <francis@mysociety.org> | 2010-10-09 04:24:02 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-10-09 04:24:02 +0100 |
commit | 91ea937de9225a7bc748f51470eb6c7f3397e0c8 (patch) | |
tree | b7fdfa0057d52730b23f48430ca605f971f0f503 /app/controllers/user_controller.rb | |
parent | 70d8b2d24c68ec57a8e5a0fcc618f690a989e920 (diff) |
Link to Atom JSON equivalents in HTTP header. Document.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |