コード例 #1
0
 public function edit($id)
 {
     $subject = Subject::find($id);
     $types = Type::lists('name', 'id');
     return \View::make('admin::subject.edit')->with(array('subject' => $subject, 'types' => $types));
 }