Skip to content

Commit a9b49ed

Browse files
committed
Update rest-client
1 parent 3113743 commit a9b49ed

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

assets/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import SubscribersView from '../vue/views/SubscribersView.vue'
55
export const router = createRouter({
66
history: createWebHistory(),
77
routes: [
8-
{ path: '/dashboard', name: 'dashboard', component: DashboardView },
8+
{ path: '/', name: 'dashboard', component: DashboardView },
99
{ path: '/subscribers', name: 'subscribers', component: SubscribersView },
1010
{ path: '/:pathMatch(.*)*', redirect: '/' },
1111
],

assets/vue/components/sidebar/AppSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const sections = [
2929
id: 'general',
3030
label: 'General',
3131
items: [
32-
{ label: 'Dashboard', icon: 'grid', route: '/dashboard', badge: null },
32+
{ label: 'Dashboard', icon: 'grid', route: '/', badge: null },
3333
{ label: 'Subscribers', icon: 'users', route: '/subscribers' },
3434
{ label: 'Lists & Segments', icon: 'list', route: '/lists' },
3535
],

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"symfony/twig-bundle": "^6.4",
5252
"symfony/webpack-encore-bundle": "^2.2",
5353
"symfony/security-bundle": "^6.4",
54-
"tatevikgr/rest-api-client": "dev-ISSUE-357"
54+
"tatevikgr/rest-api-client": "dev-main"
5555
},
5656
"require-dev": {
5757
"phpunit/phpunit": "^9.5",

src/Controller/DashboardController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public function __construct(AuthClient $apiClient)
1818
}
1919

2020
#[Route('/', name: 'home', methods: ['GET'])]
21-
#[Route('/dashboard', name: 'dashboard', methods: ['GET'])]
2221
public function index(Request $request): Response
2322
{
2423
// if (!$request->getSession()->has('auth_token')) {

0 commit comments

Comments
 (0)