/** * Perform the upload of the avatar * POST-request */ public function uploadAvatar_action() { AvatarModel::createAvatar(); Redirect::to('user/editAvatar'); }
/** * Perform the upload of the avatar * Auth::checkAuthentication() makes sure that only logged in users can use this action and see this page * POST-request */ public function uploadAvatar_action() { Auth::checkAuthentication(); AvatarModel::createAvatar(); Redirect::to('login/editAvatar'); }
public function uploadAvatar_action() { Auth::checkAuthentication(); AvatarModel::createAvatar(); Redirect::to('user/index'); }