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

Respect config.digest = false for asset_path #20

Merged
merged 1 commit into from
Sep 21, 2012

Conversation

wagenet
Copy link

@wagenet wagenet commented Sep 17, 2012

Previously, the asset_path internals only respected the :digest option,
but ignored the global config setting. This meant that
config.digest = false could not be used in conjunction with
config.compile = false this corrects the behavior.

Previously, the `asset_path` internals only respected the `:digest`
option, but ignored the global config setting. This meant that
`config.digest = false` could not be used in conjunction with
`config.compile = false` this corrects the behavior.
@wagenet
Copy link
Author

wagenet commented Sep 17, 2012

Duplicate of rails/rails#7672

@wagenet
Copy link
Author

wagenet commented Sep 17, 2012

Same changes as requested here: rails/rails#7647. However, we get a new test failure here https://github.com/wagenet/sprockets-rails/blob/asset_path_digest_fix/test/assets_test.rb#L256. I'm not sure what the correct solution is.

guilleiguaran added a commit that referenced this pull request Sep 21, 2012
Respect `config.digest = false` for `asset_path`
@guilleiguaran guilleiguaran merged commit 37e4b89 into rails:master Sep 21, 2012
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.

2 participants