Commit 438caf26 authored by Ben Corlett's avatar Ben Corlett

Allow forward slash separators in Str::classify()

parent 8ff052cb
......@@ -296,7 +296,7 @@ class Str {
*/
public static function classify($value)
{
$search = array('_', '-', '.');
$search = array('_', '-', '.', '/');
return str_replace(' ', '_', static::title(str_replace($search, ' ', $value)));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment