v></td><td class="code"><div><pre><span></span><code><span class="x">    public function index(Request $request){</span>
<span class="x">        if ($request-&gt;user()-&gt;can(&#39;all-all&#39;)) {</span>
<span class="x">            return &#39;Seja muito bem vindo seu Super&#39;;</span>
<span class="x">        }</span>
<span class="x">    }</span>
</code></pre></div></td></tr></table></div>





                
              </article>
            </div>
          
          
        </div>
        
    