undefined method respond_to in Rails 5 controller : <p>I'm upgrading an app from rails 3.something to rails 5.  For some reason, I'm am getting undefindied method respond_to anytime I use that method in any of my controllers.  This was working before and I was hoping someone here could help.</p>

<pre><code>class StatusController &lt; ApplicationController

  #this throws an error 'undefined method respond_to
  respond_to :json, :html     
 end
</code></pre>
