test.blade.php' i master sayfasına dahil etmiyor. Nasıl bir hata yapıyor olabilirim. Bu Konuda Yardımınızı rica ederim. Saygılarımla; Hata Mesajı vermiyor sadece veriler gelmiyor. yorum utf bom filan yazıyor çözemedim.
Routes.php => Route::get('deneme', 'testcontroller@index');
testcontroller.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class testcontroller extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('layouts.master');
}
***************************************************************************************
View => test.blade.php
@extends('layouls.master')
@section('title', 'Page Title')
@section('sidebar')
@parent
<p>This is appended to the master sidebar.</p>
@stop
@section('content')
<p>This is my body content.</p>
@stop
********************************************************************************************
View => layouls.master.blade.php
<html>
<head>
<title>App Name - @yield('title')</title>
</head>
<body>
@section('sidebar')
This is the master sidebar.
@show
<div class="container">
@yield('content')
</div>
</body>
</html>