respond_to |format| is useful even without multiple formats
You might think that if a controller action is only capable of rendering HTML, there is not much reason to use respond_to. After all, this is what Rails scaffold probably taught you.
But it is useful even when only rendering HTML. Check it out
Post a comment