diff options
author | Camil Staps | 2016-01-04 23:20:50 +0100 |
---|---|---|
committer | Camil Staps | 2016-01-04 23:20:50 +0100 |
commit | 7a93b44c6cb2f1e1f335d93ddf62a149ebd5f1d9 (patch) | |
tree | ea606ac400db5aced2a83f65efa247372ad164d5 /app/Http/routes.php | |
parent | Models, migrations and seeds for root, roottranslation, stem, tense, verb (diff) |
Training app
Diffstat (limited to 'app/Http/routes.php')
-rw-r--r-- | app/Http/routes.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app/Http/routes.php b/app/Http/routes.php index 5ecfcd1..5e6bc5a 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -12,5 +12,15 @@ */ $app->get('/', function () use ($app) { - return $app->welcome(); + return view('trainer'); }); + +$app->get('/stem', function () use ($app) { + return \HebrewParseTrainer\Stem::all(); +}); + +$app->get('/tense', function () use ($app) { + return \HebrewParseTrainer\Tense::all(); +}); + +$app->get('/verb/random', 'RandomVerbController@show'); |