moon requests layouts of functions

This commit is contained in:
2020-02-24 00:50:34 -06:00
parent bea1b222ae
commit 5217bb52ad
2 changed files with 34 additions and 0 deletions

View File

@@ -28,6 +28,24 @@ class MoonsAdminController extends Controller
$this->middleware('auth');
}
/**
* Function to display moon requests
*/
public function displayMoonRequests() {
return view('moon.admin.moonrequest');
}
/**
* Function to approve a moon request
*/
public function storeApprovedMoonRequest(Request $request) {
$this->validate($request, [
]);
}
/**
* Function to display the moons to admins
*/

View File

@@ -46,6 +46,22 @@ class MoonsController extends Controller
->with('moons', $moons);
}
/**
* Function to display moon request form
*/
public function displayRequestMoon() {
return view('moon.user.requestmoon');
}
/**
* Function to store the moon request
*/
public function storeRequestMoon(Request $request) {
$this->validate($request, [
]);
}
/**
* Function to display the moons and pass data to the blade template
*/