Achieve the World’s Most Prestigious Certifications and Unlock Top-Paying Careers! Get Certified in the Industry’s Leading Programs Today.
🚀 DevOps Certified Professional 🚀 SRE Certified Professional 🚀 DevSecOps Certified Professional 🚀 MLOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.



Get Started Now!

Open link in new tab using Controller function

In this tutorial I have to implement after delete open in new tab using route.

1st step

public function DeleteBlogCategory($id)
    {
        BlogCategory::findOrFail($id)->delete();
        $redirectUrl = route('all.blog.category');
        return Redirect::away($redirectUrl)->with([
            'message' => 'Blog Category Deleted Successfully',
            'alert-type' => 'success',
            'open-in-new-tab' => true,
        ]);
    }

2nd step put in web.php

Route::get('/all/blog/category', 'AllBlogCategory')->name('all.blog.category');

3rd step put in blade.php

@if (session('open-in-new-tab'))
     <script>
        window.open("{{ route('all.blog.category') }}", "_blank");
 </script>
@endif

Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.

Related Posts

Comprehensive Guide to DevOps, MLOps, and AI Educational Platforms

As of April 2025, the landscape of DevOps, MLOps, and AI educational platforms has expanded significantly. Below is a detailed overview of the leading platforms in these…

Basics of C Programming

Structure of a C Program Definition: A C program follows a structured format, which includes essential components like preprocessor directives, the main function, and statements. Structure Breakdown:…

Explore Rewa with Ease: Book Bikes and Cars Online with Motoshare

Rewa, the cultural heart of Madhya Pradesh, is a city that offers an enticing blend of history, natural beauty, and cultural richness. Whether you’re visiting to explore…

Explore Shimoga with Ease: Book Bikes and Cars Seamlessly on Motoshare

Shimoga, often called the “Gateway to Malnad,” is a stunning blend of natural beauty, cultural richness, and serene landscapes. Whether you’re planning to explore its mesmerizing waterfalls,…

Discover Mathura with Ease: Rent Bikes & Cars Seamlessly with Motoshare

Mathura, the birthplace of Lord Krishna, is a city rich in heritage and spiritual significance. Whether you’re a devotee, history enthusiast, or curious traveler, Mathura has something…

Discover Nizamabad with Ease: Rent Bikes and Cars through Motoshare

Explore the charm of Nizamabad effortlessly with Motoshare’s newly launched bike and car rental services. Whether you’re planning a quick trip across the city or a day…

0 0 votes
Article Rating
Subscribe
Notify of
guest


0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x