set middleware if there is a bourbon parent
test method not allowed