diff --git a/cornice/pyramidhook.py b/cornice/pyramidhook.py index 0b35d72f..13a996de 100644 --- a/cornice/pyramidhook.py +++ b/cornice/pyramidhook.py @@ -184,7 +184,7 @@ def register_service_views(config, service): # Cornice-specific arguments that pyramid does not know about cornice_parameters = ('filters', 'validators', 'schema', 'klass', - 'error_handler') + CORS_PARAMETERS + 'error_handler', 'deserializer') + CORS_PARAMETERS # 1. register route