Exemplo n.º 1
0
 public function edit($id)
 {
     $type = Type::find($id);
     $attributes = Attribute::lists('name', 'id');
     return \View::make('admin::type.edit')->with(array('type' => $type, 'attributes' => $attributes));
 }