예제 #1
0
파일: Model.php 프로젝트: pixel418/staq
 public function getRouteAttributes($model)
 {
     $attributes = [];
     $attributes['id'] = $model->id;
     $attributes['name'] = \Staq\Util::smartUrlEncode($model->name());
     return $attributes;
 }