Displaying 1 result from an estimated 1 matches for "print_user_path".
2009 Jul 30
0
How to print data with out rendring page?
Hi all,
I have following code in haml form that print current webpage
I call this page from another page like user profile page like
=link_to ''Print'', print_user_path(@user)
this calls "print.html.haml"
print.html.haml
------------------------------
%script
print();
=ALL DATA TO PRINT
--------------------------------------
PROBLEM IS THAT : I want to print data with out rendering to
print.html.haml page.
means when i click on "print"...