app/Assets/Helpers.php
/**
	 * Given a Url generate the @2x correcponding url.
	 * This is used for thumbs, small and medium.
	 */
Given a Url generate the @2x correcponding url.
This is used for thumbs, small and medium.
Given a Url generate the @2x correcponding url . This is used for thumbs small and medium .
public static function ex2x($url)
	{
		$thumbUrl2x = explode('.', $url);
		return $thumbUrl2x[0] . '@2x.' . $thumbUrl2x[1];
	}
public static function ex2x ( $ url ) { $ thumbUrl2x = explode ( '.' , $ url ) ; return $ thumbUrl2x [ 0 ] . '@2x.' . $ thumbUrl2x [ 1 ] ; }
Given a Url generate the @2x correcponding url.
Given a Url generate the @2x correcponding url .