title: How to use both rocket pants and doorkeeper in the same rails application?
body: <p>I'm creating a JSON API for my application. I'd like to use rocket_pants for the JSON API and doorkeeper to provide OAuth2 support.</p>
  
  <p>My problem is that it seems that once I change my controller to extend rocket pants controller  the doorkeeper methods are no longer available.</p>
  
  <p>So, as soon as I'm changing the declaration of the controller to <code>class Api::V1::ApiController &lt; RocketPants::Base</code>, I'm getting this error:</p>
  
  <pre><code>in `&lt;class:ApiController&gt;': undefined method `doorkeeper_for' for Api::V1::ApiController:Class (NoMethodError)
  </code></pre>
  
  <p>It probably makes sense, since rocket pants has no way of knowing about doorkeeper, but I'd like to know what I should do in order to make it recognize doorkeeper.</p>