Thanx

I managed to find it  in in the documentation

This is what I ended up doing in the controller. hobo_show + an  
implicit respond_to block.
Works fine now.


  def show
     hobo_show do |format|
       format.html
       format.pdf do
         prawnto :prawn => {:page_size =>  
'A4'},:filename=>"task#{id}.pdf"
       end
     end
   end

brgds roland

>
> You probably will do it just as you would do with a regular rails app
> as the PDF plugin won't be using DRYML.
>
> On Dec 9, 3:57 am, "roland oth" <[EMAIL PROTECTED]> wrote:
>> Hi  I am trying to get PDF rendering going and want to use prawn  
>> for this.
>>
>> Are there any tutorials / instructions available for that.  
>> Especially how to
>> get the
>> a respnd_to block into the controller, and any caveats to watch out  
>> for
>>
>> Roland
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to