belykia
133
4
Laravel

from a file blade to another in the same folder ??

Posted 1 year ago by belykia

Hello everybody : i created in the view folder a new folder (posts) , inside it i added 2 files "blade.php" .one of the files "create.blade.php"contains a form , the other one "index.blade.php" contains a button <a href="{{ route('post.create') }}" class="btn btn-primary btn-lg">ADD</a> ,in order to access to the other file within the button ADD , i added to the tag the href="{{ route('post.create') }} , but it doesn't work .

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.