Skip to content
Snippets Groups Projects
Commit 1f8eae28 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '485-ux-bei-such-timeout' into 'development'

Admin Interface ist wieder geschützt

Closes #485

See merge request !858
parents 43d166f5 d9715b3b
No related branches found
No related tags found
2 merge requests!859Development,!858Admin Interface ist wieder geschützt
......@@ -9,12 +9,6 @@ use Response;
class AdminInterface extends Controller
{
public function index(Request $request)
{
$localFetcher = file_get_contents(action("AdminInterface@getFetcherStatus"));
die(var_dump($localFetcher));
}
public function getFetcherStatus()
{
// Let's get the stats for this server.
// First we need to check, which Fetcher could be available by parsing the sumas.xml
......
......@@ -129,9 +129,8 @@ Route::group(
Route::get('zitat-suche', 'ZitatController@zitatSuche');
Route::group([/*'middleware' => ['referer.check'],*/ 'prefix' => 'admin'], function () {
Route::group(['middleware' => ['referer.check'], 'prefix' => 'admin'], function () {
Route::get('/', 'AdminInterface@index');
Route::get('fetcher-status', "AdminInterface@getFetcherStatus");
Route::get('count', 'AdminInterface@count');
Route::get('check', 'AdminInterface@check');
Route::get('engines', 'AdminInterface@engines');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment