Question, if at first my controller is only going to be responding
with html templates to requests is it best practice to keep the
respond_to block within each action?
respond_to do |format|
format.html
end
I find it adds a lot of noise to a controller for nothing. Correct me
if I am wrong though please.
Bonus question: why did we move from .rhtml to .html.erb? Are these
the same for Rails or are they handled differently?
Thanks everyone.
–
John K.
[email protected]
Blog: http://www.kopanas.com
Conference: http://www.cusec.net
Twits: http://www.twitter.com/kopanas