You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: poster_controller.rb
    path of file: ./repos/consuldemocracy/app/controllers/dashboard
    
    the code of the file until where you have to start completion: class Dashboard::PosterController < Dashboard::BaseCo
    
  def index
    authorize! :manage_poster, proposal

    respond_to do |format|
      format.html
      format.pdf do
        render pdf: "poster",
               page_size: "A4",
               dpi: 300,
               zoom: 0.32,
               show_as_html: Rails.env.test? || params.key?("debug"),
               margin: { top: 0 }
      end
    end
  end