Author: Jonathan.Wage
Date: 2010-01-17 04:00:31 +0100 (Sun, 17 Jan 2010)
New Revision: 26750

Modified:
   plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing css and js helper methods that weren't using 
getAssetPath


Modified: plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php
===================================================================
--- plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php     
2010-01-17 02:37:47 UTC (rev 26749)
+++ plugins/sfSympalPlugin/trunk/lib/util/sfSympalToolkit.class.php     
2010-01-17 03:00:31 UTC (rev 26750)
@@ -9,12 +9,12 @@
 
   public static function useStylesheet($stylesheet, $position = 'last')
   {
-    return sfContext::getInstance()->getResponse()->addStylesheet($stylesheet, 
$position);
+    return 
sfContext::getInstance()->getResponse()->addStylesheet(sfSympalConfig::getAssetPath($stylesheet),
 $position);
   }
 
   public static function useJavascript($stylesheet, $position = 'last')
   {
-    return sfContext::getInstance()->getResponse()->addJavascript($javascript, 
$position);
+    return 
sfContext::getInstance()->getResponse()->addJavascript(sfSympalConfig::getAssetPath($javascript),
 $position);
   }
 
   public static function useJQuery($plugins = array())

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" 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-svn?hl=en.


Reply via email to