Skip to content

Commit de70220

Browse files
committed
config
1 parent d2b5c82 commit de70220

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

src/Providers/ModuleServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ModuleServiceProvider extends ServiceProvider
1919
{
2020
public function boot(): void
2121
{
22-
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'typicms.modules');
22+
$this->mergeConfigFrom(__DIR__.'/../config/subscriptions.php', 'typicms.modules.subscriptions');
2323

2424
$this->loadViewsFrom(__DIR__.'/../../resources/views/', 'subscriptions');
2525

src/config/config.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/config/subscriptions.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
return [
4+
'linkable_to_page' => true,
5+
'order' => [
6+
'id' => 'desc',
7+
],
8+
'sidebar' => [
9+
'icon' => '<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-credit-card" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v1h14V4a1 1 0 0 0-1-1H2zm13 4H1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V7z"/><path d="M2 10a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-1z"/></svg>',
10+
'weight' => 130,
11+
],
12+
'permissions' => [
13+
'read subscriptions' => 'Read',
14+
],
15+
];

0 commit comments

Comments
 (0)