This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* googleAuth.js | |
* | |
* Generates an OAuthClient to be used by an API service | |
* Requires path to file that contains clientId/clientSecret and scopes | |
*/ | |
const {google} = require('googleapis'); | |
const fs = require('fs'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MessageController.php | |
/** | |
* Store a newly created resource in storage. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @return \Illuminate\Http\Response | |
*/ | |
public function store(Request $request) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="{{route('contact.send')}}" class="mb-3" method="post" enctype="multipart/form-data"> | |
{!! csrf_field() !!} | |
<div class="form-row"> | |
<div class="form-group col-md-5"> | |
<label for="name" class="control-label">Name</label> | |
<input name="name" class="form-control" type="text" id="name" value="{{old('name')}}"> | |
</div> | |
<div class="form-group col-md-7"> | |
<label for="email" class="control-label">Email</label> | |
<input name="email" class="form-control" type="email" id="email" value="{{old('email')}}"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="{{route('contact.send')}}" class="mb-3" method="post" enctype="multipart/form-data"> | |
{!! csrf_field() !!} | |
<div class="form-row"> | |
<div class="form-group col-md-5"> | |
<label for="name" class="control-label">Name</label> | |
<input name="name" class="form-control" type="text" id="name" value="{{old('name')}}"> | |
</div> | |
<div class="form-group col-md-7"> | |
<label for="email" class="control-label">Email</label> | |
<input name="email" class="form-control" type="email" id="email" value="{{old('email')}}"> |
NewerOlder