title: How to render a jsonapi-resources response in an custom controller action?
body: <p>I have implemented my own object creation logic by overriding the create action in a JSONAPI::ResourceController controller.</p>
  
  <p>After successful creation, I want to render the created object representation.</p>
  
  <p><strong>How to render this automatically generated JSON API response, using the jsonapi-resources gem?</strong></p>
  
  <p>Calling the super method does also trigger the default resource creation logic, so this does not work out for me.</p>
  
  <pre><code>class Api::V1::TransactionsController &lt; JSONAPI::ResourceController
    def create
      @transaction = Transaction.create_from_api_request(request.headers, params)
  
      # render automatic generated JSON API response (object representation)
    end
  end
  </code></pre>