Have you specified an output string for your asset that ends with .css?
{% stylesheets ‘@FooBundle/Resources/sass/main.sass’ filter=‘sass’
output=‘css/main.css’ %}
That’s what is fed into the Symfony format system.
Thanks,
Kris
On Tuesday, April 19, 2011 at 8:10 AM, Hidenori GOTO wrote:
Hi,
>
> I'm trying Symfony2/Assetic and SassFilter and I've found that the
> Content-Type responded by the sass filter is 'text/html' instead of
> 'text/css'.
> (use_controller: true)
> Is this caused by the misconfiguration of my Apache or the problem of
> AsseticBudle?
>
>
> I've tried a workaround by adding 'sass' entry in
> Symfony/Component/HttpFoundation/Request.php::initializeFormats()
> method.
> But it should be done in AsseticBundle I think.
>
>
> Hidenori Goto
> [email protected]
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en