mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Implement custom entities / objects (closes #242)
This commit is contained in:
@@ -19,6 +19,10 @@ $app->group('', function()
|
||||
// Generic entity interaction
|
||||
$this->get('/userfields', '\Grocy\Controllers\GenericEntityController:UserfieldsList');
|
||||
$this->get('/userfield/{userfieldId}', '\Grocy\Controllers\GenericEntityController:UserfieldEditForm');
|
||||
$this->get('/userentities', '\Grocy\Controllers\GenericEntityController:UserentitiesList');
|
||||
$this->get('/userentity/{userentityId}', '\Grocy\Controllers\GenericEntityController:UserentityEditForm');
|
||||
$this->get('/userobjects/{userentityName}', '\Grocy\Controllers\GenericEntityController:UserobjectsList');
|
||||
$this->get('/userobject/{userentityName}/{userobjectId}', '\Grocy\Controllers\GenericEntityController:UserobjectEditForm');
|
||||
|
||||
// User routes
|
||||
$this->get('/users', '\Grocy\Controllers\UsersController:UsersList');
|
||||
|
Reference in New Issue
Block a user