'success' => 'address',
]);
return;
} $this->
redirect(['action' => 'index', 'success' => 'create'
]);
return;
} $this->
View()->
assign($this->
getFormViewData($form));
} /**
* Shortcut action for more fluent urls
*/
public function editAction() { $userId =
$this->
get('session'
)->
get('sUserId'
);
$addressId =
$this->
Request()->
getParam('id'
);
$address =
$this->addressRepository->
getOneByUser($addressId,
$userId);