mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Make it possible to test quantity unit plural forms (closes #261)
This commit is contained in:
@@ -322,4 +322,11 @@ class StockController extends BaseController
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
public function QuantityUnitPluralFormTesting(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args)
|
||||
{
|
||||
return $this->AppContainer->view->render($response, 'quantityunitpluraltesting', [
|
||||
'quantityUnits' => $this->Database->quantity_units()->orderBy('name')
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user