Rename /stockedit and /stockdetail to match the "naming conventions" (references #421)

This commit is contained in:
Bernd Bestel
2020-01-27 19:19:09 +01:00
parent 40730328b8
commit 4c1c971f6d
8 changed files with 208 additions and 211 deletions

View File

@@ -33,12 +33,12 @@ $app->group('', function()
if (GROCY_FEATURE_FLAG_STOCK)
{
$this->get('/stockoverview', '\Grocy\Controllers\StockController:Overview');
$this->get('/stockdetail', '\Grocy\Controllers\StockController:Detail');
$this->get('/stockentries', '\Grocy\Controllers\StockController:Stockentries');
$this->get('/purchase', '\Grocy\Controllers\StockController:Purchase');
$this->get('/consume', '\Grocy\Controllers\StockController:Consume');
$this->get('/transfer', '\Grocy\Controllers\StockController:Transfer');
$this->get('/inventory', '\Grocy\Controllers\StockController:Inventory');
$this->get('/stockedit/{entryId}', '\Grocy\Controllers\StockController:StockEdit');
$this->get('/stockentry/{entryId}', '\Grocy\Controllers\StockController:StockEntryEditForm');
$this->get('/products', '\Grocy\Controllers\StockController:ProductsList');
$this->get('/product/{productId}', '\Grocy\Controllers\StockController:ProductEditForm');
$this->get('/stocksettings', '\Grocy\Controllers\StockController:StockSettings');