diff --git a/app/Http/Controllers/GeneratorController.php b/app/Http/Controllers/GeneratorController.php index 5a1ce4f..1e09825 100644 --- a/app/Http/Controllers/GeneratorController.php +++ b/app/Http/Controllers/GeneratorController.php @@ -41,14 +41,15 @@ class GeneratorController extends Controller $sets = "3"; $reps = "10"; }; - $preferences = [ - Request::get('free_weights'), - Request::get('dumbbells'), - Request::get('barbells'), - Request::get('selectorized'), - Request::get('cables'), - Request::get('calisthenics') - ]; + $preferences = ["free_weights", "dumbbells", "barbells", "selectorized", "cables", "calisthenics"]; +# $preferences = [ +# Request::get('free_weights'), +# Request::get('dumbbells'), +# Request::get('barbells'), +# Request::get('selectorized'), +# Request::get('cables'), +# Request::get('calisthenics') +# ]; if (isset($preferences)) { foreach (array_keys($preferences, '') as $key) { unset($preferences[$key]); diff --git a/resources/views/generator/generate.blade.php b/resources/views/generator/generate.blade.php index 28cc5a5..5782117 100644 --- a/resources/views/generator/generate.blade.php +++ b/resources/views/generator/generate.blade.php @@ -23,7 +23,7 @@


- +