Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
muni2explore committed Jul 19, 2023
1 parent b249628 commit e5755c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions database/seeders/SampleQuizSeeder.php
Expand Up @@ -309,9 +309,9 @@ public function run(): void
DB::table('question_options')->insert($seedData);

$quizzes = <<<CSV
"id","quiz_name","quiz_image","quiz_type","description","quiz_category_id","created_at","updated_at"
1,Pre-test,https://images.unsplash.com/photo-1634128221889-82ed6efebfc3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80,pre-test,This is prelevel test to identify the level of knowledge of student,1,,
2,English- test1,https://images.unsplash.com/photo-1451226428352-cf66bf8a0317?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80,test,Level -1,1,,
"id","quiz_name", "timeout","quiz_image","quiz_type","description","quiz_category_id","created_at","updated_at"
1,Pre-test, 30,https://images.unsplash.com/photo-1634128221889-82ed6efebfc3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80,pre-test,This is prelevel test to identify the level of knowledge of student,1,,
2,English- test1, 30,https://images.unsplash.com/photo-1451226428352-cf66bf8a0317?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80,test,Level -1,1,,
CSV;

$rows = explode("\n", $quizzes);
Expand Down
Binary file modified laravel
Binary file not shown.
2 changes: 1 addition & 1 deletion resources/views/navigation-menu.blade.php
Expand Up @@ -36,7 +36,7 @@
@endcanany

@canany(['quiz list'])
<x-nav-link href="{{ url('users') }}" :active="request()->routeIs('users')">
<x-nav-link href="{{ url('tests') }}" :active="request()->routeIs('users')">
{{ __('Tests') }}
</x-nav-link>
@endcanany
Expand Down

0 comments on commit e5755c7

Please sign in to comment.