From b44c6c442ca687219015e5fb156945e3da1ef30c Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Sun, 18 Oct 2015 17:13:07 -0500 Subject: [PATCH] Temporarily hid preferences due to lack of content. --- app/Http/Controllers/GeneratorController.php | 17 +++++++++-------- resources/views/generator/generate.blade.php | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) 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 @@


- +