public function store(Request $request) { $category = Category::create($request->all()); return Redirect::to('category'); }
public function create() { $category = Category::lists('title', 'id'); return view('song.create')->with('category', $category); }