Skip to content

Commit

Permalink
fix #6
Browse files Browse the repository at this point in the history
  • Loading branch information
bolechen committed Jul 24, 2019
1 parent 0f31f5e commit b2fbb0a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"license": "MIT",
"require": {
"php": ">=7.1.0",
"laravel/nova": "^2.0",
"spatie/laravel-activitylog": "^3.2"
},
"autoload": {
Expand Down
11 changes: 9 additions & 2 deletions config/nova-activitylog.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
<?php

return [
/*
* This file is part of the bolechen/nova-activitylog
*
* (c) Bole Chen <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

return [
/*
* Set the resource used for `nova-activitylog` package. Default is `activitylogs`.
*/
'resourceName' => 'activitylogs',

];
1 change: 0 additions & 1 deletion src/NovaActivitylog.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class NovaActivitylog extends Tool
*/
public function boot()
{
//
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/Activitylog.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

namespace Bolechen\NovaActivitylog\Resources;

use App\Nova\Resource;
use Illuminate\Http\Request;
use Laravel\Nova\Fields\Code;
use Laravel\Nova\Fields\DateTime;
use Laravel\Nova\Fields\ID;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Resource as NovaResource;

class Activitylog extends Resource
class Activitylog extends NovaResource
{
public static $model;

Expand Down

0 comments on commit b2fbb0a

Please sign in to comment.