| 1 |
<?php |
| 2 |
|
| 3 |
use BitCode\BitForm\Frontend\CustomRoutes; |
| 4 |
use BitCode\BitForm\Frontend\FormEntryView; |
| 5 |
use BitCode\BitForm\Frontend\StandaloneFormView; |
| 6 |
|
| 7 |
$routes = new CustomRoutes(); |
| 8 |
$routes->add('bitform-form-view/([0-9]+)/?', [StandaloneFormView::class, 'preview']); |
| 9 |
$routes->add('bitform-form-entry-edit/([0-9]+)/?([0-9]+)/?', [FormEntryView::class, 'preview']); |
| 10 |
|