Ruby on Rails Discussions
How to discover Content-Type in ApplicationController
rubyonrails-talk
Hardbap
(Hardbap)
September 7, 2007, 6:10pm
1
Are you using respond_to in the controller's action to set the output type?
Related topics
Topic
Replies
Views
Activity
How to set custom type/format in controller's response_to?
rubyonrails-talk
0
127
June 18, 2012
render :json not setting content type (Rails 3.0.3)
rubyonrails-talk
1
139
December 6, 2010
Weird mime type set by render_to_string (Rails 2.2 / 2.3)
rubyonrails-talk
0
124
February 6, 2009
respond_to for unknown type
rubyonrails-talk
0
121
July 7, 2007
return custom http responses from a controller?
rubyonrails-talk
0
112
June 30, 2007