diff --git a/core/lib/refinery/crud.rb b/core/lib/refinery/crud.rb index 1867b3ec0c..1bd54ef489 100644 --- a/core/lib/refinery/crud.rb +++ b/core/lib/refinery/crud.rb @@ -85,9 +85,8 @@ def edit end def duplicate - original = @#{singular_name} - @#{singular_name} = original.dup - @#{singular_name}.title += ' Copy' + @#{singular_name} = @#{singular_name}.dup + @#{singular_name}.title << ' Copy' render 'edit' end