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

c# - Textbox not clickable but editable -

php - how to change mysql_result($res, 0, "url"); to mysqli -

Matlab transpose a table vector -