I got a syntax error on your last code modification (pointing out the
= on social=).

And yes, I have restarted the server. (I even rebooted my machine [for
an unrelated reason])

Still being directed to http://brian.com/default/profile#_=_ rather
than http://brian.com/profile

On Sat, Jun 23, 2012 at 12:32 AM, Jonathan Lundell <jlund...@pobox.com> wrote:
> On Jun 22, 2012, at 7:29 AM, Alec Taylor wrote:
>>
>> I modified the route.py as you suggested:
>>
>> routers = dict(
>>    BASE=dict(
>>        default_application='social',
>>        functions = ['index', 'profile', 'user'],
>>    )
>> )
>>
>> Yet the URL continues to present at: http://brian.com/default/profile#_=_
>
> Did you restart web2py (or otherwise reload the routing table)? You'll need 
> to do that.
>
> The router I gave you (above) is slightly defective (though it shouldn't have 
> kept function removal from working). The functions info should go in an 
> app-specific section, thus:
>
> routers = dict(
>   BASE=dict(
>       default_application='social',
>   )
>   social=dict(
>       functions = ['index', 'profile', 'user'],
>   )
> )
>
> --
>
>
>

-- 



Reply via email to