feat: add bylaw management features including documents, legal authorities, subject categories, and nodes
This commit is contained in:
@@ -36,6 +36,7 @@ class NotificationController extends Controller
|
||||
public function store(StoreRequest $request)
|
||||
{
|
||||
Notification::create($request->validated());
|
||||
|
||||
return redirect()->route('notifications.index');
|
||||
}
|
||||
|
||||
@@ -47,12 +48,14 @@ class NotificationController extends Controller
|
||||
public function update(UpdateRequest $request, Notification $notification)
|
||||
{
|
||||
$notification->update($request->validated());
|
||||
|
||||
return redirect()->route('notifications.index');
|
||||
}
|
||||
|
||||
public function destroy(Notification $notification)
|
||||
{
|
||||
$notification->delete();
|
||||
|
||||
return redirect()->route('notifications.index');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user