Class: MemberCardsController

Inherits:
ArtfullyOseController show all
Defined in:
app/controllers/member_cards_controller.rb

Instance Method Summary collapse

Instance Method Details

#newObject



6
7
8
9
# File 'app/controllers/member_cards_controller.rb', line 6

def new
  pdf = MemberCardGenerator::BlanksUsaIdc6.new(@members).generate
  send_data pdf, :filename => "member_cards.pdf", :type => "application/pdf", :disposition => "attachment"
end