tapestry-cloud / tapestry

PHP static site generator using the plates template system
https://www.tapestry.cloud/
MIT License
32 stars 1 forks source link

ContentType enabled property not used #86

Closed carbontwelve closed 7 years ago

carbontwelve commented 7 years ago

ContentType configuration can enable/disable a content type, however the property does not appear to be used in Tapestry. It is however used by carbontwelve/tapestry-api and therefore a isDisabled method is needed to provide access to the otherwise private property.

carbontwelve commented 7 years ago

This is implemented by 301115221221b0d53d89b94a582c928a442ffdbc, needs a unit test writing before this issue can be closed.

carbontwelve commented 7 years ago

Test added by 5a5c1b2c81377f9e51a727bd3515863829472188