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/general_controller.rb | |
parent | 70d8b2d24c68ec57a8e5a0fcc618f690a989e920 (diff) |
Link to Atom JSON equivalents in HTTP header. Document.
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index 0bea01a6f..21e715424 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -153,7 +153,7 @@ class GeneralController < ApplicationController @highlight_words = @xapian_requests.words_to_highlight @track_thing = TrackThing.create_track_for_search_query(@query) - @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 } ] end # Jump to a random request |