Skip to content

Instantly share code, notes, and snippets.

@MattWohler
Created May 6, 2018 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattWohler/6938cf0541d4d371172dfd450815aecb to your computer and use it in GitHub Desktop.
Save MattWohler/6938cf0541d4d371172dfd450815aecb to your computer and use it in GitHub Desktop.
Support\FormRequest
<?php
namespace HCI\Support\Http;
use Illuminate\Foundation\Http\FormRequest as BaseFormRequest;
abstract class FormRequest extends BaseFormRequest
{
/**
* Determine if the user is authorized to make this request.
* @TODO: We will manage authorization in middleware?
*
* @return bool
*/
public function authorize()
{
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment