Posted 10 months ago by NOMGUY

This is my blade file code:

<h2><a href="{{ route('',$post->id) }}">{{ $post->title }}</a></h2>

This is my show function:

public function show($id)
        return view('')->with('post',$post);

i am using Cviebrock laravel-sluggable. how to show slug url

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

Reply to

Use Markdown with GitHub-flavored code blocks.