Cannot find 'discounts' template with page 'detail'