title: how to get the @layout functionality of laravel working?
body: <p>i am new to laravel an trying to learn BLADE but there is a issue which is striking me.
  i have an </p>
  
  <pre><code>index.blade.php
  
  @layout('master')
  </code></pre>
  
  <p>and i also have a</p>
  
  <pre><code>master.blade.php
  &lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt;
  &lt;title&gt;Laravel: A Framework For Web Artisans&lt;/title&gt;
  &lt;meta name="viewport" content="width=device-width"&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  hi from body
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>the problem is that when ever i try to call the index.blade.php it gives me a
  error saying</p>
  
  <pre><code>Unhandled Exception
  Message:
  
  View [master] doesn't exist.
  
  Location:
  
  C:\xampp\htdocs\laravel-laravel2\laravel\view.php on line 170
  
  Stack Trace:
  
  #0 C:\xampp\htdocs\laravel-laravel2\laravel\view.php(107): Laravel\View-&gt;path('master')
  #1 C:\xampp\htdocs\laravel-laravel2\laravel\view.php(218): Laravel\View-                                &gt;__construct('master', Array)
  #2 C:\xampp\htdocs\laravel-laravel2\laravel\helpers.php(526): Laravel\View::make('master', Array)
  #3 C:\xampp\htdocs\laravel-laravel2\laravel\view.php(386) : eval()'d code(2): view('master')
  #4 C:\xampp\htdocs\laravel-laravel2\laravel\view.php(386): eval()
  #5 C:\xampp\htdocs\laravel-laravel2\laravel\blade.php(71): Laravel\View-&gt;get()
  #6 [internal function]: Laravel\Blade::Laravel\{closure}(Object(Laravel\View))
  #7 C:\xampp\htdocs\laravel-laravel2\laravel\event.php(199): call_user_func_array(Object(Closure), Array)
  #8 C:\xampp\htdocs\laravel-laravel2\laravel\event.php(138): Laravel\Event::fire('laravel.view.en...', Array, true)
  #9 C:\xampp\htdocs\laravel-laravel2\laravel\view.php(348): Laravel\Event::until('laravel.view.en...', Array)
  #10 C:\xampp\htdocs\laravel-laravel2\laravel\view.php(590): Laravel\View-&gt;render()
  #11 C:\xampp\htdocs\laravel-laravel2\laravel\response.php(268): Laravel\View-&gt;__toString()
  #12 C:\xampp\htdocs\laravel-laravel2\laravel\laravel.php(180): Laravel\Response-&gt;render()
  #13 C:\xampp\htdocs\laravel-laravel2\public\index.php(34): require('C:\xampp\htdocs...')
  #14 {main}
  </code></pre>