is there a way to render a file in another window
I wrote :
def show
@asset = Asset.find(params[:id])
respond_to do |format|
format.html
format.xml { render :xml => @asset }
format.pdf {render :file => @asset.data.path }
end
end
this render in the current window…
thanks for your suggestions
erwin