Closed FiloSpaTeam closed 9 years ago
Hi @FiloSpaTeam,
You're right, I'm going to add this helper.
Cheers, Tortue Torche
;-) I found this function and added in my global.php
function humanize($str) {
$str = trim(strtolower($str));
$str = preg_replace('/[^a-z0-9\s+]/', '', $str);
$str = preg_replace('/\s+/', ' ', $str);
$str = explode(' ', $str);
$str = array_map('ucwords', $str);
return implode(' ', $str);
}
Good catch, but it'll be easier for other users to have it bundled into Larasset.
yeah ;D when bundled, i'll remove my function! thanks!
Thanks! :dancer:
You're welcome, I'm going to backport this fix for Larasset 0.9 and 1.0
When i use image_tag, i have this in console: