diff --git a/edbob/pyramid/views/crud.py b/edbob/pyramid/views/crud.py index b51b96e..3be0b60 100644 --- a/edbob/pyramid/views/crud.py +++ b/edbob/pyramid/views/crud.py @@ -133,7 +133,7 @@ class Crud(object): if not template_prefix: template_prefix = url_prefix if not permission_prefix: - permission_prefix = route_prefix + permission_prefix = route_prefix + 's' config.add_route('%s.new' % route_prefix, '%s/new' % url_prefix) config.add_view(cls, attr='new', route_name='%s.new' % route_prefix, renderer='%s/crud.mako' % template_prefix,