Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmKevinMcKee committed Jan 26, 2021
1 parent 91a9525 commit dfc960b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
16 changes: 9 additions & 7 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/Http/Controllers/TalkController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ public function show()

public function store(Request $request)
{
return redirect()->back();

}
}
6 changes: 0 additions & 6 deletions app/View/Components/TalkListItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ class TalkListItem extends Component
*/
public function __construct(Talk $talk)
{
if(! $talk->exists) {
$talk->name = "Hotwire in Laravel";
$talk->speaker = "Tony Messias";
$talk->date = now();
$talk->id = 1;
}
$this->talk = $talk;
}

Expand Down
3 changes: 2 additions & 1 deletion resources/views/components/comment-form.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<form action="#">
<form method="POST" action="{{route('talk_comment.store', 1)}}">
@csrf
<div>
<label for="comment" class="sr-only">About</label>
<textarea id="comment" name="comment" rows="3"
Expand Down

0 comments on commit dfc960b

Please sign in to comment.