Level 102
Can you show the controller method for the messss route ?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I have simply working with session for displaying message , but I don't now why its not working My Code Blade FIle
@if(Session::has('success'))
<div class="alert alert-success">
{{Session::get('success')}}
</div>
@endif
Controller
public function message_send(Request $request)
{
return redirect()->route('messss')
->with('success','You have no permission for this page!');
}
Please or to participate in this conversation.