Skip to content

Commit

Permalink
Fix routes
Browse files Browse the repository at this point in the history
  • Loading branch information
tonning committed Oct 8, 2024
1 parent 408d5a9 commit 7351205
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion resources/views/models/faqs/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:breadcrumbs="[
['title' => 'Home', 'url' => route('lego.dashboard')],
['title' => 'Apps', 'url' => route('lego.apps.index')],
['title' => 'Customer Experience', 'url' => route('lego.customer-experience.index')],
['title' => 'Customer Experience', 'url' => route('lego.apps.edit', 'customer-experience')],
['title' => 'FAQs','url' => route('lego.customer-experience.faqs.index')],
['title' => $model->faq_question ?: 'New FAQs'],
]"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/models/faqs/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:breadcrumbs="[
['title' => 'Home', 'url' => route('lego.dashboard')],
['title' => 'Apps', 'url' => route('lego.apps.index')],
['title' => 'Customer Experience', 'url' => route('lego.customer-experience.index')],
['title' => 'Customer Experience', 'url' => route('lego.apps.edit', 'customer-experience')],
['title' => 'FAQs', 'url' => route('lego.customer-experience.faqs.index')],
]"
x-data="{ showColumnFilters: false }"
Expand Down
4 changes: 0 additions & 4 deletions routes/backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@
Route::get('/create', FaqForm::class)->name('create');
Route::get('/{faq}/edit', FaqForm::class)->name('edit');
});

Route::get('apps/customer-experience',function(){
return redirect('/admin/apps/customer-experience');
})->name('customer-experience.index');

0 comments on commit 7351205

Please sign in to comment.