app/controllers/championships_controller.rb
# PDF rendering for the CSI seasonal individual ranking.
#
PDF rendering for the CSI seasonal individual ranking.
PDF rendering for the CSI seasonal individual ranking .
def printout_indi_ranking_csi
    prepare_csi_champioship_individual_rankings()
    base_filename = I18n.t('championships.individual_rank').gsub(' ', '_').underscore
    filename = create_unique_filename( base_filename ) + '.pdf'
    options = {
      report_title:         @title,
      meta_info_subject:    'csi championship individual rankings printout',
      meta_info_keywords:   "Goggles, #{ base_filename }'",
      view_context:         view_context,
      season:               @season,
      ranking:              @individual_ranking,
      categoriy_types:      @category_types
    }
    send_data(                                      
        ChampionshipIndiRankingCSILayout.render( options ),
        type: 'application/pdf',
        filename: filename
    )
  end
def printout_indi_ranking_csi prepare_csi_champioship_individual_rankings ( ) base_filename = I18n . t ( 'championships.individual_rank' ) . gsub ( ' ' , '_' ) . underscore filename = create_unique_filename ( base_filename ) + '.pdf' options = { report_title : @title , meta_info_subject : 'csi championship individual rankings printout' , meta_info_keywords : "Goggles, #{ base_filename }'" , view_context : view_context , season : @season , ranking : @individual_ranking , categoriy_types : @category_types } send_data ( ChampionshipIndiRankingCSILayout . render ( options ) , type : 'application/pdf' , filename : filename ) end
PDF rendering for the CSI seasonal individual ranking.
PDF rendering for the CSI seasonal individual ranking .
# == OPTIONS setup + RENDERING phase == # == Render layout & send data: