Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 507 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 507 Bytes

Laravel Nova Reload Resources Button Card

Installation

composer require tanmuhittin/nova-reload-resources

Add to the cards method of the resource

use Tanmuhittin\ReloadResources\ReloadResources;

/**
 * Get the cards available for the resource.
 *
 * @param  \Illuminate\Http\Request  $request
 * @return array
 */
public function cards(Request $request)
{
    return [new ReloadResources];
}

nova-reload-resources