From 0e7183062ec7c4681368e95ba64527dc189c920c Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 22 May 2019 20:16:04 -0500 Subject: [PATCH] moons form --- resources/views/moons/user/formTotalWorth.blade.php | 2 +- routes/web.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/moons/user/formTotalWorth.blade.php b/resources/views/moons/user/formTotalWorth.blade.php index 8b3822c31..0cb203030 100644 --- a/resources/views/moons/user/formTotalWorth.blade.php +++ b/resources/views/moons/user/formTotalWorth.blade.php @@ -3,7 +3,7 @@

Total Worth Calculator


Enter the moon composition


- {!! Form::open(['action' => 'MoonsController@displayTotalWorth', 'method' => 'POST']) !!} + {!! Form::open(['action' => 'Moons\MoonsController@displayTotalWorth', 'method' => 'POST']) !!}
{{ Form::label('firstOre', 'First Ore') }} {{ Form::select('firstOre', [ diff --git a/routes/web.php b/routes/web.php index 1d8e999b6..58efa5fcb 100644 --- a/routes/web.php +++ b/routes/web.php @@ -29,8 +29,8 @@ Route::group(['middleware' => ['auth']], function(){ * Moon Controller display pages */ Route::get('/moons/display', 'Moons\MoonsController@displayMoons'); - Route::get('/moons/display/worth', 'Moons\MoonsController@displayTotalWorthForm'); - Route::post('displayTotalWorth', 'Moons\MoonsController@displayTotalWorth'); + Route::get('/moons/display/worth/form', 'Moons\MoonsController@displayTotalWorthForm'); + Route::post('/moons/display/worth', 'Moons\MoonsController@displayTotalWorth'); /** * Moon Admin Controller display pages