title: How can I get the current view name inside a master layour in Laravel 4?
body: <p>in Laravel 4 I have a master blade layout and I want to add a class to the html element like 'tpl-home', but I need to know which is the current view name called with View::make.</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="es" class="tpl-{{Str::slug($currentViewName)}}"&gt;
  </code></pre>
  
  <p>Does Laravel provide any function for retrieving this?</p>
  
  <p>Thanks</p>