Ghost/ghost/admin/app/routes/offer/new.js
Rishabh 31e4b77525 Added initial wiring for offer screens
refs https://github.com/TryGhost/Team/issues/1084
refs https://github.com/TryGhost/Team/issues/1085

- adds model/validator/config and router for offers
- updates template for offer list and detail with dynamic values
- updated route handling for offer list and creation
- wires offer data from API to list and detail pages
2021-10-06 20:01:25 +05:30

7 lines
152 B
JavaScript

import OfferRoute from '../offer';
export default class NewOfferRoute extends OfferRoute {
controllerName = 'offer';
templateName = 'offer';
}