-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to control Content-Disposition #33
Comments
Yes this feature would be much appreciated. Could you possibly create a PR for this? If you do this please also consider if there's a better way we could be setting the filename instead of using an controller instance variable "@filename" |
@TylerRick any chance to take a stab at this? |
@cortiz I can make a |
@waghanza go for it (P.S. I am the current maintainer) |
ok 😜, I'm on it |
@waghanza Just checking in: are you still working on this feature? I'd like to take over if not. We got burned by this after a recent upgrade. |
@ATMartin go for it |
@ATMartin not working on this anymore, glad you take over |
It looks like there's a way to control the filename (by setting
@filename
), but the Content-Disposition is hard-coded to be "inline":Could we add an option for controlling whether Content-Disposition is inline or attachment like prawnto has?
Maybe we need an options hash?
The text was updated successfully, but these errors were encountered: