forked from NUBIC/surveyor
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix code that figures out if the asset pipeline is enabled
The Rails3-compatible algorithm to figure out if the asset pipeline is doesn't work with Rails4. Quite frankly, the new one doesn't seem as clean as the old one, but hopefully this code will work in all cases. rails/rails#10334 Note that the specs didn't seem to test both cases, or else the image path is now the same whether the pipeline is enabled or not, but in any case the specs don't need to determine whether the pipeline is enabled, they can use the same path in all cases.
- Loading branch information
toby cabot
committed
Aug 16, 2013
1 parent
940b299
commit 0f56592
Showing
4 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters