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

Add assetic DIC tags reference. #2480

Merged
merged 1 commit into from
May 3, 2013
Merged

Add assetic DIC tags reference. #2480

merged 1 commit into from
May 3, 2013

Conversation

pvolok
Copy link
Contributor

@pvolok pvolok commented Apr 7, 2013

Q A
Doc fix? no
New docs? yes
Applies to 2.0+
Fixed tickets #2347

The one known issue is that the assetic.asset tag adds the asset to the asset manager, but AsseticBundle throws an exception when any asset has no associated formula. So at the moment this tag seems to be useless. I created an issue(symfony/assetic-bundle#183) in AsseticBundle. Once its filxed, I will add an example.

{
public function process(AssetInterface $asset)
{
// Change $asset or return a new one
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// ... change $asset or return a new one

@pvolok
Copy link
Contributor Author

pvolok commented May 1, 2013

I think it's ready to be merged. And I'll add more description for assetic.asset once symfony/assetic-bundle#183 is resolved.

weaverryan added a commit that referenced this pull request May 3, 2013
Add assetic DIC tags reference.
@weaverryan weaverryan merged commit 6690584 into symfony:2.0 May 3, 2013
weaverryan added a commit that referenced this pull request May 3, 2013
@weaverryan
Copy link
Member

Hi Pavel!

Nice work with this - it's very nice! If you get more details about assetic.asset, just make another PR. I think it's probably better to have some documentation on these tags rather than nothing: we can improve things from here.

Thanks!

@pvolok pvolok deleted the assetic_tags branch May 3, 2013 04:47
weaverryan added a commit that referenced this pull request May 28, 2013
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.

4 participants