title: wicked_pdf without yield content
body: <pre><code>&lt;%= wicked_pdf_stylesheet_link_tag "application", media: "all", "data-turbolinks-track" =&gt; true %&gt;
  &lt;%= wicked_pdf_javascript_include_tag "application", "data-turbolinks-track" =&gt; true%&gt;
  </code></pre>
  
  <p><br/></p>
  
  <pre><code>def show
    @invoice_items = @invoice.accounts_receivables_items
  
    respond_to do |format|
      format.html { render :template =&gt; "invoices/show"}
      format.pdf  {render :pdf =&gt; "invoices/show",
                          :template =&gt; 'layouts/application.html', formats: :html, encoding: 'utf8', :show_as_html =&gt; params[:debug].present?}
    end
  end
  </code></pre>
  
  <p>I get this. It's my webpage (layout/application.html) but without the <code>&lt;%= yield %&gt;</code> content</p>
  
  <p><img src="https://i.stack.imgur.com/qSB6L.png" alt="enter image description here"></p>
  
  <p><strong>EDIT</strong></p>
  
  <p><img src="https://i.stack.imgur.com/WqBOM.png" alt="enter image description here"></p>