On Mar 30, 2011, at 10:09 PM, VP wrote:
> 
> Where would I issue this function call?  Would it be easier if admin
> is modified so as this call is issued whenever an app is created/
> deleted ?

I'll send Massimo a patch for admin, but of course admin isn't always around. 

Just create a function in some controller that does nothing but make that call 
and then redirect anywhere you like. That should do the trick.

> 
> Thanks.
> 
> On Mar 30, 11:58 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
>> On Mar 30, 2011, at 9:43 PM, VP wrote:
>> 
>> 
>> 
>>> i'm using 1.94.6 with router.  When I created a new application, I
>>> must restart apache in order for the application to get recognized.
>>> Otherwise, its URL is not accessible.
>> 
>> You ought to be able to just reload the routing table, I think: 
>> gluon.rewrite.load(). The router needs to discover the names of your apps in 
>> order to properly do the defaults.
>> 
>> We were talking about adding a command to the admin app to do that, but I 
>> don't think we ever got around to it.


Reply via email to