From f2bd19e0fc02bbfab0d5dae6587a17b557ed9640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Ostafi=C5=84ski?= Date: Wed, 13 Sep 2023 12:01:16 +0100 Subject: [PATCH 1/2] fix: missing learning content add --- resources/views/pages/landing.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/pages/landing.blade.php b/resources/views/pages/landing.blade.php index 6c72f6c4..72616ecd 100644 --- a/resources/views/pages/landing.blade.php +++ b/resources/views/pages/landing.blade.php @@ -22,7 +22,7 @@ @endsection @section('associated_pages') - @if(Request::is('learning')) + @if(Request::is('learn-with-us')) @include('includes.elements.schools-project') @endif
From 54b3ab73b0670ff41167a0891fcfe0add487449a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Ostafi=C5=84ski?= Date: Thu, 14 Sep 2023 14:32:18 +0100 Subject: [PATCH 2/2] fix: learning controller name --- routes/web.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/routes/web.php b/routes/web.php index 7309d528..217d490e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -113,17 +113,17 @@ /* learning routes */ -Route::get('learn-with-us/look-think-do/', 'learn-with-usController@lookThinkDoMain')->name('ltd'); -Route::get('learn-with-us/look-think-do/{slug}', 'learn-with-usController@lookThinkDoActivity')->name('ltd-activity'); -Route::get('learn-with-us/resources/', 'learn-with-usController@resources')->name('learn-with-us-resources'); -Route::get('learn-with-us/resources/{slug}', 'learn-with-usController@resource')->name('learn-with-us-resource'); -Route::get('learn-with-us/school-sessions/{slug}', 'learn-with-usController@session')->name('school-sessions'); -Route::get('learn-with-us/community-programming/{slug}', 'learn-with-usController@community')->name('community-programming'); - -Route::get('learn-with-us/young-people/{slug}', 'learn-with-usController@young')->name('young-people'); -Route::get('learn-with-us/contact-us/', 'learn-with-usController@profiles')->name('learn-with-us-profiles'); -Route::get('learn-with-us/adult-programming/{slug}', 'learn-with-usController@adult')->name('adult-activity'); -Route::get('learn-with-us/gallery-activities/{slug}', 'learn-with-usController@galleryActivity')->name('gallery-activity'); +Route::get('learn-with-us/look-think-do/', 'learningController@lookThinkDoMain')->name('ltd'); +Route::get('learn-with-us/look-think-do/{slug}', 'learningController@lookThinkDoActivity')->name('ltd-activity'); +Route::get('learn-with-us/resources/', 'learningController@resources')->name('learn-with-us-resources'); +Route::get('learn-with-us/resources/{slug}', 'learningController@resource')->name('learn-with-us-resource'); +Route::get('learn-with-us/school-sessions/{slug}', 'learningController@session')->name('school-sessions'); +Route::get('learn-with-us/community-programming/{slug}', 'learningController@community')->name('community-programming'); + +Route::get('learn-with-us/young-people/{slug}', 'learningController@young')->name('young-people'); +Route::get('learn-with-us/contact-us/', 'learningController@profiles')->name('learn-with-us-profiles'); +Route::get('learn-with-us/adult-programming/{slug}', 'learningController@adult')->name('adult-activity'); +Route::get('learn-with-us/gallery-activities/{slug}', 'learningController@galleryActivity')->name('gallery-activity'); /* * Object and highlight routes