pub fn register_runtime(resource: RuntimeResource) -> Result<(), RuntimeError>Expand description
Adds a runtime resource to the panel. It shows in the navigation and the dashboard, and
its list, forms and delete action answer at /<mount>/<slug>, from the next request on.
Create its permissions (<slug>.viewAny and the others) in the same request with
ignite_panel::register_runtime_permissions; otherwise the panel creates them on the next
signed-in request.
Refuses a slug that is not valid, a slug that a static resource, another runtime resource
or one of the panel’s own pages (such as login) uses, and two fields with one name.