Skip to content
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

Use send_file instead of send_data #888

Merged
merged 1 commit into from
Oct 6, 2015
Merged

Use send_file instead of send_data #888

merged 1 commit into from
Oct 6, 2015

Conversation

jrieger
Copy link
Contributor

@jrieger jrieger commented Oct 6, 2015

Using send_file allows the use of X-Sendfile/X-Accel-Redirect with
Apache/Nginx to bypass rails for sending attachments to the client.

Using `send_file` allows the use of X-Sendfile/X-Accel-Redirect with
Apache/Nginx to bypass rails for sending attachments to the client.
@TeatroIO
Copy link

TeatroIO commented Oct 6, 2015

I've prepared a stage to preview changes. Open stage or view logs.

tvdeyen added a commit that referenced this pull request Oct 6, 2015
Use `send_file` instead of `send_data`
@tvdeyen tvdeyen merged commit a6fb572 into AlchemyCMS:master Oct 6, 2015
@tvdeyen
Copy link
Member

tvdeyen commented Oct 6, 2015

Great. Thanks.

@jrieger jrieger deleted the send_file branch March 16, 2016 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants