cake-php
[Arriba] [Todas las Listas]

Re: Duda con respecto a routing.

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: Duda con respecto a routing.
From: Gaurav Matta <gauravgroups86@xxxxxxxxx>
Date: Mon, 10 Jun 2013 19:10:58 +0530
Delivery-date: Mon, 10 Jun 2013 09:41:13 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=r9fPJ08Zr0riFFCIXf2RgfFMFc+Mr8vmBH0nWTaEQ/4=; b=DAGOfF0L/i706qtVKpy82vmKB3NEGW3zZvjyc4msQ7JI/tvFfLNtGpvUDKolbXoDj3 OSWd5mUUum8df53f/PzE0i4d5QOpUnHyNsv0vYrJsWVD8f9biTGxyder8FNztaOksiZX aqXV0Vms2Imoafqb1Kw81Lr7rx+G0AZa+XKQJwQJAXT6bEi/X17OkxsDESGZUR26+yoh qIRzpB9/6thzNneLA/LlTWgBPvGlNqkHycD1bofzKCHMUFvuLqG9mm40/ds+XUfYbBR4 swE+sAE/c97XDH5watYFy55w4HD8IDDU0D0mqtq2ceoHi6K++fwvXSrmW6hAr98tQO03 VUIw==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=r9fPJ08Zr0riFFCIXf2RgfFMFc+Mr8vmBH0nWTaEQ/4=; b=YRLakkLvr7h0LCAUHAaioYaRIuEv/l0SHw+Z5AVkDpGBrfVDE85Wm4VELRvW8JkKhF CSGKen7A8xUThAoi3PjC0Wo1Dgq6eoEU0ps8sEbVYPEt/LLtIashFGT6+nXCFk/WWXIt 5wgRsRe+6a/Ra3sIQ6CCleQ3UZrAFQLqZSEMDsuVWvVQ4ZSApyS5wK2yRkwIWoMRur1r WzOC7fAV5CYQzEfuPzToPM1ZoDJzoPcDvjkJ4t0Bk+JZGYkOiZUvEPEetY/TcK1g52Bu U/EWer8O5DzGXUl18UrjtCwRbEDKdgs9GwJt9YZXfmruYeN+KVkv0BRWuLLx4s5bH04m zkhg==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <cf919541-abf8-4704-8a5f-a77bc953eb43@googlegroups.com>
List-archive: <http://groups.google.com/group/cake-php?hl=en>
List-help: <http://groups.google.com/support/?hl=en>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post?hl=en>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe?hl=en>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
References: <cf919541-abf8-4704-8a5f-a77bc953eb43@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Prueba
*Router::conecta('/imagen/:acción',variedad('controlador'=>'foto'))
En 10-*Jun-2013 6:17 PM, "*Nikunj *Amipara" <*nikamipara29@*xxxxxxxxx> escribió:
>
> *hi todo,
>
>  *i tiene duda con respecto a *routing...
>  *i Quiere reemplazar
>
>  *url :  /foto/* con /imagen/*       en todas partes  básicamente *i querer nombre de controlador
para ser reemplazado.. Además /foto *url tener que no trabajo más largo.
O tendría que ser rebautizado y redirigido a /la imagen/*
>
> lo es posible... ????
> Si sí complacer dar algún *guidance como *i no sabe mucho sobre *routing.
>
> *thanks.
> *Nikunj
>
> --
> Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
> nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP
>
> ---
> Recibiste este mensaje porque eres *subscribed al *Google Grupos
"*CakePHP" grupo.
> A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un
*email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
> A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
> Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
> Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.
>
>

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


Try
Router::connect('/image/:action',array('controller'=>'photo'))
On 10-Jun-2013 6:17 PM, "Nikunj Amipara" <nikamipara29@xxxxxxxxx> wrote:
>
> hi all,
>
>  i have doubt regarding routing...
>  i want to replace
>
>  url :  /photo/* with /image/*       everywhere  basically i want name of
controller to be replaced.. in addition /photo url should no longer work.
or it should be renamed and redirected to /image/*
>
> is it possible... ????
> if yes please give some guidance as i don't know much about routing.
>
> thanks.
> Nikunj
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
"CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>