Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function imprensa_param($id, $title = null){
- $artigos = artigos::where('id',$id)->first();
- if(!$title) {
- return redirect(route('site.imprensa_param', [
- 'id' => $id,
- 'title' =>Str::slug('teste deslug')
- ]));
- }
- return view('site.imprensa-interna',compact('artigos'));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement