php - Call to undefined method Illuminate\Database\Query\Builder::beforeFilter() -


I am trying to restrict access to my account page in Laravel but continue to receive the above message.

Code: Enlighten \ Auth \ UserTrait; Use Illuminated \ Auth \ UserInterface; Use Illuminated \ Auth \ Reminders \ RemindableTrait; Use Illuminated \ Auth \ Reminders \ RemindableInterface; Class user, apply besassodle, user interface, reminderable interface {public function __ composition () {$ this-> first failer ('at', array ('only' = & gt; array ('view account')); $ This- & gt; BeforeFilter ('csrf', array ('on' = & gt; 'post')); }}

beforeFilter No model

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -