Try with view_config decorator.