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

if assets.enabled is left blank, the default is now to use the asset pipeline #21

Merged
merged 1 commit into from Nov 17, 2013
Merged

if assets.enabled is left blank, the default is now to use the asset pipeline #21

merged 1 commit into from Nov 17, 2013

Conversation

spra85
Copy link
Contributor

@spra85 spra85 commented Nov 8, 2013

The default behavior in Rails now is to use the asset pipeline. The existing conditional in the railtie is !!(::Rails.configuration.assets.enabled). This actually evaluates to false for nil -- which essentially overrides the default behavior to use the legacy helpers.

nil / left blank for assets.enabled should use the asset pipeline. The engine railtie conditional is only run for Rails 3.2 + so we should be able to safely assume asset pipeline is the default.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 33345d1 on spra85:rails-asset-pipeline-default into a843b9f on igor-alexandrov:master.

@igor-alexandrov igor-alexandrov merged commit 33345d1 into igor-alexandrov:master Nov 17, 2013
@igor-alexandrov
Copy link
Owner

Thanks! Merged in wisepdf-1.3.1.

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.

None yet

3 participants