Skip to content
Snippets Groups Projects
Commit 2b04f629 authored by a.croix's avatar a.croix
Browse files

Remove reload method. Other way will be use

parent 5404c63b
No related branches found
No related tags found
1 merge request!2New Log system
Pipeline #6225 failed
......@@ -137,9 +137,4 @@ class WowaController extends Controller
return redirect(action("WowaController@index"));
}
public function updateWeights(Wowa $wowa)
{
$weightsW = $wowa->weightsW();
$weightsP = $wowa->weightsP();
}
}
......@@ -54,7 +54,7 @@ class Wowa extends Model
public function weightsP()
{
return $this->p_weights->toArray();
return $this->p_weights;
}
public function weightsW()
......
......@@ -47,10 +47,6 @@
<b>AUC P-R curve</b> : {{ $wowa->pr }}
</p>
<div>
<a class="btn btn-primary"
href="{{ action('WowaController@updateWeights', ['wowa' => $wowa]) }}">
<i class="fas fa-cogs"></i> Deploy
</a>
<form method="POST"
action="{{ action('WowaController@destroy', ['wowa' => $wowa]) }}"
style="display: inline-block">
......
......@@ -35,7 +35,6 @@ Route::prefix('app')
Route::get('status/evidences', 'MarkController@lastEvidences');
Route::get('pause', 'MarkController@pause')->name('pause');
Route::get('resume', 'MarkController@resume')->name('resume');
Route::get('reload', 'MarkController@reload')->name('reload');
Route::get('ranking', 'MarkController@rankingHome');
Route::get('ranking/{label}', 'MarkController@ranking');
......
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