##// END OF EJS Templates
middleware: add the register plugin directive further up the config stack
ergo -
r470:d29f1a26 default
parent child Browse files
Show More
@@ -227,6 +227,12 b' def error_handler(exception, request):'
227 227 def includeme(config):
228 228 settings = config.registry.settings
229 229
230 # plugin information
231 config.registry.rhodecode_plugins = {}
232
233 config.add_directive(
234 'register_rhodecode_plugin', register_rhodecode_plugin)
235
230 236 if asbool(settings.get('appenlight', 'false')):
231 237 config.include('appenlight_client.ext.pyramid_tween')
232 238
@@ -249,11 +255,6 b' def includeme(config):'
249 255 # Set the default renderer for HTML templates to mako.
250 256 config.add_mako_renderer('.html')
251 257
252 # plugin information
253 config.registry.rhodecode_plugins = {}
254
255 config.add_directive(
256 'register_rhodecode_plugin', register_rhodecode_plugin)
257 258 # include RhodeCode plugins
258 259 includes = aslist(settings.get('rhodecode.includes', []))
259 260 for inc in includes:
General Comments 0
You need to be logged in to leave comments. Login now