$this->set('_serialize', 'software');
}
+ /**
+ * @param null $id
+ */
+ public function reviewsSoftware ($id=null){
+
+ $software = $this->Softwares->get($id,
+ ["contain" =>
+ [
+ 'Reviews'=> [
+ 'Users' => [
+ 'fields' => [
+ 'id',
+ 'username',
+ 'logo_directory',
+ 'photo',
+ 'description'
+ ]
+ ]
+ ]
+ ]
+ ]);
+
+ $this->set(compact('software'));
+ $this->set('_serialize', 'software');
+ }
+
public function alternativeTo ($id=null) {
$software = $this->Softwares->get($id,