<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Http\Request;

class StoreEmail extends FormRequest {

    public function authorize() {
        return true;
    }

    public function rules() {

        return [
            'email' => 'required|email|unique:mailing_lists',
        ];
    }

}
