group(function () { Route::resource('testimonials', 'TestimonialsResourceController'); }); // Public routes for testimonial Route::get('testimonials/', 'TestimonialPublicController@index'); Route::get('testimonial/{slug?}', 'TestimonialPublicController@show');