Regaez / grav-plugin-api

A REST API plugin for GravCMS
MIT License
27 stars 6 forks source link

refactor: use new Resource abstracts for User type #30

Closed Regaez closed 5 years ago

Regaez commented 5 years ago

Change UserResource and UserCollectionResource to extend the new Resource and CollectionResource abstract classes, respectively.

This should result in less code duplication since all the resources currently share functions that behave similarly.