<?php

namespace Eform\Faq\Http\Requests;

use Litepie\Http\Request\AbstractRequest;
use Eform\Faq\Models\Faq;

class FaqActionsRequest extends AbstractRequest
{

    /* Model for the current request.
     *
     * @var array
     */
    protected $action;

    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        $this->model = app(Faq::class);

        $this->action = $this->getAction();
        // Determine if the user is authorized to perform the action.
        return $this->can($this->action);

    }



}