Skip to content

Commit

Permalink
Sample config and sample data provider fix (#59)
Browse files Browse the repository at this point in the history
* Extended class name fix in sample CalendarDataPrivider

* Missing comma fix in sample nova-calendar.php config file
  • Loading branch information
bb140856 authored Jun 8, 2023
1 parent 4ea563d commit c243679
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/nova-calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Don't forget to add the proper use statement above.
This key is required.
*/
'dataProvider' => CalendarDataProvider::class
'dataProvider' => CalendarDataProvider::class,

/*
* URI for this Nova Calendar (will be appended to the Nova path, /nova by default)
Expand Down
4 changes: 2 additions & 2 deletions resources/CalendarDataProvider.default.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Providers;

use Wdelfuego\NovaCalendar\DataProvider\AbstractDataProvider;
use Wdelfuego\NovaCalendar\DataProvider\AbstractCalendarDataProvider;
use Wdelfuego\NovaCalendar\Event;
use App\Nova\User;

class CalendarDataProvider extends AbstractDataProvider
class CalendarDataProvider extends AbstractCalendarDataProvider
{
//
// Add the Nova resources that should be displayed on the calendar to this method
Expand Down

0 comments on commit c243679

Please sign in to comment.