Example #1
0
 public function getRouteAttributes($model)
 {
     $attributes = [];
     $attributes['id'] = $model->id;
     $attributes['name'] = \Staq\Util::smartUrlEncode($model->name());
     return $attributes;
 }