it’s coming up as http://domain.co/home/action/id instead of http://domain.co/action/id

anyone know what would be the easiest way to render an action that’s on the Home controller, without having to use /home/ as part of the url?

https://github.com/silverstripe/cwp-search/pull/12 i think this will ship with CWP 2.2 (edited)

Attachments:
robbieaverill
👍 (1)

should be resolved in the latest recipe, or if not then the one being released in december

well, issues no, but yeah there was a recipe using deprecated methods

Have any fellow CWP devs had any issues with cwp-recipe-search calling deprecated functions? I.e. CwpSearchEngine calling SearchQuery->search() instead of SearchQuery->addSearchTerm() etc.

anyone ever run into issues with validate() in a model... I have a NumericField and enter a value greater than one... my validate checks $this->MyField < 1 and displays a validation error message in the cms if that is true... but regardless of what integer I put in the field it fails the validation check