Have you read the Overview chapter of the book?
To achieve what you want you would not put controllers in the model folder,
they go in the controllers folder. The default/index in the path refers to
the file name and the function within the file name.
So green/eggs/ham.refers to the green app,
Can you clarify: why do you put your controllers in the models folder?
On Wednesday, November 21, 2012 10:28:59 PM UTC+8, Brian Blais wrote:
>
> On Nov 21, 2012, at 4:55 AM, lyn2py wrote:
>
> > You can remap this using routes.py
> >
> > On Tuesday, November 20, 2012 9:44:37 PM UTC+8, Brian Blai
On Nov 21, 2012, at 4:55 AM, lyn2py wrote:
> You can remap this using routes.py
>
> On Tuesday, November 20, 2012 9:44:37 PM UTC+8, Brian Blais wrote:
> Hello,
>
> Is there a reason to have the controllers all in default.py, or is there some
> reason to have certain controllers in default.py a
3 matches
Mail list logo