Skip to content

Commit

Permalink
RegistrationFormRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Apr 29, 2022
1 parent 8fd45c8 commit c1211af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/RegistrationsAdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Maatwebsite\Excel\Facades\Excel;
use TypiCMS\Modules\Core\Http\Controllers\BaseAdminController;
use TypiCMS\Modules\Events\Exports\RegistrationsExport;
use TypiCMS\Modules\Events\Http\Requests\FormRequest;
use TypiCMS\Modules\Events\Http\Requests\RegistrationFormRequest;
use TypiCMS\Modules\Events\Models\Event;
use TypiCMS\Modules\Events\Models\Registration;

Expand All @@ -34,7 +34,7 @@ public function edit(Event $event, Registration $registration)
->with(['model' => $registration, 'event' => $event]);
}

public function update(Event $event, Registration $registration, FormRequest $request)
public function update(Event $event, Registration $registration, RegistrationFormRequest $request)
{
$registration->update($request->validated());

Expand Down

0 comments on commit c1211af

Please sign in to comment.