preaction / Yancy

The Best Web Framework Deserves the Best Content Management System
http://preaction.me/yancy/
Other
54 stars 21 forks source link

fix x-filter-output output filters #99

Closed preaction closed 4 years ago

preaction commented 4 years ago

@rmallah noticed that these had been broken, apparently since the API controller was deprecated: I didn't move this feature into the main controllers. This change runs the output filters when the yancy->get() helper is called, keeping with the convention that yancy->{get,set,create,delete} add validation and filtering and accessing the backend directly does not.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.008%) to 94.945% when pulling c092f860aabc3b11527a2b0eb90b6e154929827a on fix-output-filters into a1eb32f4026e25ec4b6557db68b2e8efa92e91d6 on master.