Closed keveri closed 9 years ago
Should we send the created PDF as an attachment instead of rendering it to the user?
From sinatra docs:
You can use the attachment helper to tell the browser the response should be stored on disk rather than displayed in the browser
For the end-user let's have download it (for minimal workflow), but for admin let's save it to disk?
ok, yes.
Should we send the created PDF as an attachment instead of rendering it to the user?
From sinatra docs: