Skip to content

Commit 497488e

Browse files
Enable Turbo
1 parent 6714d15 commit 497488e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

resources/js/bootstrap.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import Clipboard from 'clipboard'
88
import jquery from 'jquery'
99
import Echo from 'laravel-echo'
1010
import 'pusher-js'
11-
import * as Turbo from '@hotwired/turbo'
12-
13-
Turbo.session.drive = false
11+
import '@hotwired/turbo'
1412

1513
window.$ = window.jQuery = jquery
1614

resources/views/comments/_comment.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</div>
1616

1717
<h6>
18-
<a href="{{ route('users.show', $comment->author) }}">
18+
<a href="{{ route('users.show', $comment->author) }}" data-turbo-frame="_top">
1919
{{ $comment->author->name }}
2020
</a>
2121
</h6>

0 commit comments

Comments
 (0)