Laravel nie interpretuje systemu blade dla jednej strony

0

Mam taki problem mam sobie projekt a laraverze i teraz zrobiłem nowy widok i dla tego widoku nie jest interpretowany system blade poprastu mi drukuej napis @extends('layout.index') @section('content') zamiast go zinterpretować to się dzieje tylko dla tej nowej strony nie wiem co zrobić.tutaj jest kod tego widoku

@extends('layout.index')


@section('content')
<br>

@for ($i = 0;$i < count($work);$i++)
<a href="watch_work/{{$work[$i][3]}}"><div id=kolumna4>
<div class=row>
<div class = "col-md-1">
<span class=menu> <b>{!!$i+1 !!} </b></span>
</div>
<div class = "col-md-2">
<span class=menu> {!!$work[$i][0] !!} </span>
</div>
<div class = "col-md-3">
<span class=menu> {!!$work[$i][1] !!} zł </span>
</div>
<div class = "col-md-3">
<span class=menu> {!!$work[$i][2] !!} </span>
</div>
</div>
</div>
<br><br></a>
@endfor



 


@endsection

Zwykły html interpetuje

1

Na pewno masz dobre rozszerzenie blade.php ?

0

Tak.

0

Pokaż kontroler oraz routing.

0

Kontroller

    public function notifications() {
      if (!empty(Auth::user()->id) ) {
	  $sum = $this->quantity_not_read_comments(Auth::user()->id);
      }
      else $sum = 0;
      $read_notifications = $this->read_notifications(Auth::user()->id);
      //if (empty($read_notifications) ) {
	//print "dupa";
	//return Redirect('blad')->with('login_error','Nie masz żadnych powiadomień');
      //}
      //else {
	return View('read_notifications2')->with('read_notifications',$read_notifications)->with('sum',$sum);
      //}
      var_dump($read_notifications);
      
    }
Routing
```php
Route::get('notifications','Controller@notifications');
0

Usuń var_dump($read_notifications);

0

nie powinno być

@extends('layouts.index')
0

Już mam rozrzerzenie pwoinno być blade.php a ja miałem php

1 użytkowników online, w tym zalogowanych: 0, gości: 1