fix namespace slash

This commit is contained in:
Jacson Passold 2018-03-15 21:53:24 -03:00
parent d2524b88b0
commit 1acf567069
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Exposers {
$class = $prefix.sanitize_text_field($class_name);
$class = str_replace(['-', ' '], ['_'], $class);
return ($root ? '/' : '').$class;
return ($root ? '\\' : '').$class;
}
public function rest_response($item_arr, $request) {