Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Change rack session options only when asset is found #421

Closed
wants to merge 1 commit into from
Closed

Change rack session options only when asset is found #421

wants to merge 1 commit into from

Conversation

doitian
Copy link

@doitian doitian commented Mar 16, 2013

If asset is not found, RackRails will try next route since X-Cascade header
is set. It is better do not change env when the request is pass through.

sporkd/asset_prefix_test
has demonstrated that when assets prefix is also a prefix of controller
routes, the session is never stored.

If asset is not found, Rack will try next route since `X-Cascade` header
is set. It is better do not change env when the request is pass through.

[sporkd/asset_prefix_test](https://github.com/sporkd/asset_prefix_test)
has demonstrated that when assets prefix is also a prefix of controller
routes, the session is never stored.
@josh
Copy link
Contributor

josh commented Feb 9, 2014

Good point, but I'm just going to remove that entirely 5620203

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants