From 438caf2631f53a9a7db9470a9aa4b880f8f13f96 Mon Sep 17 00:00:00 2001 From: Ben Corlett Date: Thu, 6 Dec 2012 11:32:18 +1100 Subject: [PATCH] Allow forward slash separators in Str::classify() --- laravel/str.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/str.php b/laravel/str.php index 68130042..b359cb17 100644 --- a/laravel/str.php +++ b/laravel/str.php @@ -296,7 +296,7 @@ public static function ascii($value) */ public static function classify($value) { - $search = array('_', '-', '.'); + $search = array('_', '-', '.', '/'); return str_replace(' ', '_', static::title(str_replace($search, ' ', $value))); }