/**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create()
 {
     $icons = Icon::orderBy('name', 'asc')->get();
     $tags = Tag::orderBy('name', 'asc')->get();
     return view('admin.contents.blog.article.create')->with('icons', $icons)->with('tags', $tags);
 }
Ejemplo n.º 2
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $tags = Tag::orderBy('id', 'asc')->get();
     return view('admin.contents.blog.tag.index')->with('tags', $tags);
 }