Cleanup, adding model CRUD

This commit is contained in:
snipe
2013-11-16 03:55:18 -05:00
parent 2e132331e7
commit 0894832e60
11 changed files with 224 additions and 306 deletions
@@ -34,9 +34,7 @@ class ManufacturersController extends AdminController {
*/
public function getCreate()
{
// Show the page
$manufacturer_options = array('0' => 'Top Level') + Manufacturer::lists('name', 'id');
return View::make('backend/manufacturers/edit')->with('manufacturer_options',$manufacturer_options)->with('manufacturer', new Manufacturer);
return View::make('backend/manufacturers/edit')->with('manufacturer', new Manufacturer);
}