Thanks I will rename router.py.example to routes.py in the web 2 py root and
then I can also make a copy in my app to do specific routing?
On Mar 31, 2011 10:58 AM, "Jonathan Lundell" <jlund...@pobox.com> wrote:
> On Mar 31, 2011, at 7:46 AM, David J. wrote:
>>
>> I missed that
>>
>> calling app/default/get_started
>>
>> works also;
>
> The hyphen-underscore translation works only if you're running the new
router.
>
>>
>>
>>
>> On 3/31/11 10:31 AM, Ross Peoples wrote:
>>> web2py will automatically convert dashes to underscores for the function
names, so:
>>>
>>> getting-started
>>>
>>> will become:
>>>
>>> def getting_started():
>>> return dict()
>>
>
>

Reply via email to