public function __construct() { parent::__construct(); view()->share('current_action', 'forum-topic-covers-' . current_action()); $this->middleware('auth', ['only' => ['destroy', 'store', 'update']]); }