aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorCamil Staps2019-12-30 16:57:13 +0100
committerCamil Staps2020-01-03 19:06:02 +0100
commitad10a6467f76822b9289832eeb0d0ac2038b32d1 (patch)
tree1d78251ad49be1a744dc4573a1b3cf54e295e3a4 /routes
parentClarify incorrect parsing message when input is short (diff)
Strip down for simple app for Greek verb λύω
Diffstat (limited to 'routes')
-rw-r--r--routes/web.php30
1 files changed, 5 insertions, 25 deletions
diff --git a/routes/web.php b/routes/web.php
index a4d1007..58e592f 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -1,7 +1,7 @@
<?php
/**
- * HebrewParseTrainer - practice Hebrew verbs
- * Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
+ * Luo Parse Trainer - practice Ancient Greek verb forms
+ * Copyright (C) 2015-present Camil Staps <info@camilstaps.nl>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -28,35 +28,15 @@ Route::group(
});
Route::get('/stem', function () {
- return \HebrewParseTrainer\Stem::all();
+ return \HebrewParseTrainer\Mode::all();
});
Route::get('/tense', function () {
return \HebrewParseTrainer\Tense::all();
});
- Route::post('/verb/random',
- '\App\Http\Controllers\VerbController@random');
-
- Route::get('/contribute', function () {
- return view('contribute');
- });
-
- Route::group(['middleware' => 'auth'], function () {
- Route::get('/stats', function () {
- return view('stats');
- });
-
- Route::get('/verb/{id}/vote/{choice}',
- '\App\Http\Controllers\VerbController@vote');
-
- Route::post('/verb/suggest',
- '\App\Http\Controllers\VerbController@suggest');
-
- Route::post('/root/create',
- '\App\Http\Controllers\RootController@create');
-
- });
+ Route::post('/form/random',
+ '\App\Http\Controllers\FormController@random');
});