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