Jamie Krasnoo wrote:
> Ok, quick question. I have a super class that I create all the sites
> from. From that super class I have some default runmodes that I use
> and that gets invoked by running the setup from the super. What if one
> of those runmodes in the super isn't needed? How do you remove a
> runmode?

This isn't currently possible, but at the same time it's never been needed
before either. If you just don't want users fooling with urls to get to run
modes that aren't needed, then you can create empty stub methods which error
out. Although I agree this is kind of hacky and can cause inconsistencies when
using something like C::A::Dispatch that uses a "rm can't be found" error to
generate a 404 error that the server will handle.

I'm sure if you created a patch with docs and tests it would be accepted.

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to