Skip to content

Commit

Permalink
Merge pull request #17 from Alpana-Web-Solution/hotfix-cerificate-and…
Browse files Browse the repository at this point in the history
…-home-route

Hotfix:transform value is not null and must be 0 or 1, /home route is…
  • Loading branch information
debjit authored Apr 28, 2021
2 parents 2b1e191 + fbe7ed6 commit f58ec02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CertificateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function certificateDownload(Donation $donation)

public function edit()
{
$certificate = Certificate::firstOrCreate([],['certificate_template'=>'','cloudinary_transform'=>'']);
$certificate = Certificate::firstOrCreate([],['certificate_template'=>'','cloudinary_transform'=>0]);
return view('admin.certificate.edit')->withCertificate($certificate);
}

Expand Down
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
Auth::routes();

Route::get('/', [App\Http\Controllers\HomeController::class, 'home'])->name('home');
Route::get('/home', [App\Http\Controllers\HomeController::class, 'home'])->name('home');
Route::get('/contact', [App\Http\Controllers\HomeController::class, 'contact'])->name('contact');
Route::get('/about', [App\Http\Controllers\HomeController::class, 'about'])->name('about');

Expand Down

0 comments on commit f58ec02

Please sign in to comment.