$c->response->redirect('/login/'.$c->request->path); #### $c->response->redirect($c->uri_for('/login', $c->request->path));