Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Loadpath setter #103

Merged
merged 2 commits into from Aug 1, 2012
Merged

Loadpath setter #103

merged 2 commits into from Aug 1, 2012

Conversation

mkraemer
Copy link
Contributor

@mkraemer mkraemer commented Aug 1, 2012

Hi,

i would like to use symfonys di-container to define the paths used for loading includes in assetics compassFilter.
The filter already provides the setLoadPaths() method to do that (kriswallsmith/assetic#251), so the only thing needed is an addition to the container definition of the filter.

Exemplary use in symfonys config.yml:

assetic:
    debug:          %kernel.debug%
    use_controller: false
    bundles:
        - eFormFrontendBundle
    #java: /usr/bin/java
    filters:
        compass: 
            debug:  false
            bin: %compass_bin%
            load_paths: %additional_compass_paths%

Thanks

stof added a commit that referenced this pull request Aug 1, 2012
@stof stof merged commit 0c09207 into symfony:master Aug 1, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants