Skip to content

Commit

Permalink
Merge pull request #7 from creode-modules/fix_coding_standing
Browse files Browse the repository at this point in the history
Fix coding standards
  • Loading branch information
liam-spedding committed Feb 16, 2024
2 parents a38d279 + 498a7df commit 00e0ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions config/nova-careers.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@
| Traffic Cop
|--------------------------------------------------------------------------
|
| Indicates whether Nova should check for modifications between viewing and updating a resource.
| Indicates whether Nova should check for modifications between viewing
| and updating a resource.
|
*/
'trafficCop' => false,
'traffic_cop' => true,
];
2 changes: 1 addition & 1 deletion src/LaravelNovaCareersServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function boot()
$this->app->bind(CareerController::class, NovaCareerController::class);

// Set TrafficCop on the CareerResource
CareerResource::$trafficCop = config('nova-careers.trafficCop');
CareerResource::$trafficCop = config('nova-careers.traffic_cop');

// Register the Model for the CareerResource and the CareerResource itself.
CareerResource::$model = config('careers.model');
Expand Down

0 comments on commit 00e0ed7

Please sign in to comment.