Skip to content

Commit

Permalink
Removed min 1 in new timeline validation, required already does the job
Browse files Browse the repository at this point in the history
  • Loading branch information
katsulon committed Nov 28, 2024
1 parent 44f1b62 commit cc5f0cc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions timeliner/app/Http/Controllers/TimelineController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public function create()
public function store(Request $request)
{
$request->validate([
'name' => 'required|min:1|max:25',
'description' => 'required|min:1|max:100',
'name' => 'required|max:50',
'description' => 'required|max:200',
'private' => 'required|boolean'
]);

Expand Down
Binary file modified timeliner/public/favicon.ico
Binary file not shown.
Binary file removed timeliner/public/images/favicon.ico
Binary file not shown.
2 changes: 0 additions & 2 deletions timeliner/resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

<title>{{ config('app.name', 'Timeliner') }}</title>

<link rel="icon" type="image/x-icon" href="/images/favicon.ico">

<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
Expand Down

0 comments on commit cc5f0cc

Please sign in to comment.