Support the ongoing development of Laravel.io →
posted 1 year ago
Laravel
Last updated by @carlx1101 1 year ago.
0

I have tried route:clear and route:cache

0
moderator

Hello @carlx1101

Welcome on this forum :)

I have 2 questions.

1: Does the create method exist in your controller and how does it looks like?

2: Can you place the code in your message and not a link to an image site with a lot of advertisements?

0

Hi, sorry for creating the inconvenient

  1. this is my create method public function create() { return view('school.course.create'); }
0

I check all the details, everything is correct and working except the create() method not working for some reason

0
moderator

What happen if you change the method to?:

public function create() {
        return 'test';
}

If you get the test as return it means the controller is working. It can that your view does not exist on the correct way.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

YIP KAR FAI carlx1101 Joined 19 Jul 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.