I created 'Log' class in app/models :
class Log extends Eloquent {
public function user() {
return $this->belongsTo('user');
}
}
When i try to save log object in my controller i got this error (Call to undefined method Illuminate\Support\Facades\Log::save()
) I thik because in (app/config/app
) in providers laravel define Log class => 'Log'=> 'Illuminate\Support\Facades\Log',
.
How can i resolve this problem without change class name ?