mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-13 19:04:22 +01:00
fix text feeds
This commit is contained in:
parent
f513e667dc
commit
436cc862d6
8 changed files with 106 additions and 197 deletions
|
|
@ -31,6 +31,8 @@ class ContextsController < ApplicationController
|
|||
@feed_description = "Lists all the contexts for #{current_user.display_name}"
|
||||
end
|
||||
format.text do
|
||||
# somehow passing Mime::TEXT using content_type to render does not work
|
||||
headers['Content-Type']=Mime::TEXT.to_s
|
||||
render :action => 'index', :layout => false, :content_type => Mime::TEXT
|
||||
end
|
||||
format.autocomplete &render_autocomplete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue