Add Direct view/method

This commit is contained in:
Daniel Supernault 2019-05-27 23:10:56 -06:00
parent cf1848030a
commit f0fd072086
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 22 additions and 0 deletions

View file

@ -159,6 +159,11 @@ class AccountController extends Controller
return view('account.messages');
}
public function direct()
{
return view('account.direct');
}
public function showMessage(Request $request, $id)
{
return view('account.message');

View file

@ -0,0 +1,17 @@
@extends('layouts.app')
@section('content')
<div>
<direct-component></direct-component>
</div>
@endsection
@push('scripts')
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
<script type="text/javascript" src="{{ mix('js/direct.js') }}"></script>
<script type="text/javascript">
new Vue({
el: '#content'
});
</script>
@endpush