TurboGears / tgext.pluggable

Pluggable applications support for TurboGears2
11 stars 13 forks source link

Added possibility to block controllers #2

Closed devilicecream closed 11 years ago

devilicecream commented 11 years ago

Edit: Giving the 'block_controllers' parameter to the plug function when plugging an application, you will retrieve your default 404 page when trying to access the method specified.

Syntax:

plug(base_config, '', '', , block_controllers=[''])

the need to be comma separated, and need to contain the entire path if they are subcontroller's methods