In case you've missed it, you are looking at an older version of the website. Checkout our latest version, we promise you will love it 😍

set_crud_url_path

void set_crud_url_path(string $crud_url_path [, string $list_url_path ])
Quick Description: This method is useful when the path is not specified correctly. Especially when we are using routes.
Available for version >= 1.4

Set a full URL path to this method.

This method is useful when the path is not specified correctly. Especially when we are using routes. For example: Let's say we have the path http://www.example.com/ however the original url path is http://www.example.com/example/index . We have to specify the url so we can have all the CRUD operations correctly. The url path has to be set from this method like this:
$crud->set_crud_url_path(site_url('example/index'));