title: How to use multiple layouts inside the same controller?
body: <p>I wanted to ask how can I define a multiple layouts for the same controller in Laravel. 
  The scenario here is like the following:</p>
  
  <p>I have a controller Home and i have two actions in this controller one called steps and the other called login.</p>
  
  <p>I want the both of them load different layout.</p>
  
  <p>The way that I used to make this is as follow:</p>
  
  
  
  <pre class="lang-php prettyprint-override"><code>protected $layout = "layouts.page";
  
  public function index()
  {
      // Get to the page of the website making steps
      $this-&gt;layout-&gt;content = View::make('steps');
  }
  </code></pre>
  
  <p>Can I define multiple layouts? Maybe passing an array as follow:</p>
  
  <pre class="lang-php prettyprint-override"><code>protected $layout = array('first' =&gt; "layouts.page", 'second' =&gt; 'layouts.second');
  </code></pre>