diff --git a/lib/pliny/templates/endpoint_scaffold.erb b/lib/pliny/templates/endpoint_scaffold.erb index 2251c36e..2b3fbaf6 100644 --- a/lib/pliny/templates/endpoint_scaffold.erb +++ b/lib/pliny/templates/endpoint_scaffold.erb @@ -7,7 +7,7 @@ module Endpoints get do <%= fields_name %> = uuid_paginator(<%= singular_class_name %>, args: { max: 10 }) - encode serialize(%= fields_name %) + encode serialize(%= fields_name %) end post do