Ejemplo n.º 1
0
 /**
  * Determine if the current route uses a given controller action.
  *
  * @param  string  $action
  * @return bool
  */
 public function currentRouteUses($action)
 {
     return $this->currentRoute->getOption('_uses') === $action;
 }