# HG changeset patch # User Marcin Kuzminski # Date 2018-10-26 14:25:39 # Node ID b74e1e66d6742669e343450e747b6fdca4ae7816 # Parent fff406e2f876aec8352f7717bf79b9725aaeb346 debug-style: fixed views diff --git a/rhodecode/apps/debug_style/__init__.py b/rhodecode/apps/debug_style/__init__.py --- a/rhodecode/apps/debug_style/__init__.py +++ b/rhodecode/apps/debug_style/__init__.py @@ -31,7 +31,8 @@ class DebugStylePredicate(object): phash = text def __call__(self, info, request): - str2bool(request.registry.settings.get('debug_style')) + return str2bool(request.registry.settings.get('debug_style')) + def includeme(config): config.add_route_predicate(