tanmuhittin/nova-reload-resources

Creates a Reload Resources button

dev-master 2019-07-25 14:05 UTC

This package is auto-updated.

Last update: 2024-11-26 01:50:24 UTC


README

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