success massage not working.

Posted 1 year ago by gorakhyadav

Hello everyone am a newly in laravel and am using laravel 5.5 , success massage not working. am pass this in controller

 return view('admin.users.index',compact('users','total'))->with('success','user Update successfully');

and this one in blade page

  @if ($message = Session::get('success'))
           <div class="alert alert-success">
            <p>{{ $message }}</p>
                 </div>
  @endif 

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

Reply to

Use Markdown with GitHub-flavored code blocks.