src/Traits/Actions/Skeleton.php
public function render(Eloquent $entity = null)
    {
        $action = app('scaffold.module')->url().'-'.$this->action($entity);

        return
<<<OUTPUT
<a data-scaffold-action="{$action}" data-scaffold-key="{$this->entityKey($entity)}" href="{$this->route($entity)}" {$this->attributes($entity)}>
    <i class="fa {$this->icon($entity)}"></i>&nbsp;{$this->name($entity)}
</a>
OUTPUT;
    }
public function render(Eloquent $entity = null)
    {
        $action = app('scaffold.module')->url().'-'.$this->action($entity);

        return
<<<OUTPUT
<a data-scaffold-action="{$action}" data-scaffold-key="{$this->entityKey($entity)}" href="{$this->route($entity)}" {$this->attributes($entity)}>
    <i class="fa {$this->icon($entity)}"></i>&nbsp;{$this->name($entity)}
</a>
OUTPUT;
    }
public function render ( Eloquent $ entity = null ) { $ action = app ( 'scaffold.module' ) -> url ( ) . '-' . $ this -> action ( $ entity ) ; return 
<<<OUTPUT
<a data-scaffold-action="{$action}" data-scaffold-key="{$this->entityKey($entity)}" href="{$this->route($entity)}" {$this->attributes($entity)}>
    <i class="fa {$this->icon($entity)}"></i>&nbsp;{$this->name($entity)}
</a>
OUTPUT ; }
Render action button.

@param Eloquent $entity

@return string
Render action button .