예제 #1
0
 /**
  * @param UserGroups $ug
  * @return bool
  */
 function update(UserGroups $ug)
 {
     return $ug->update();
 }
예제 #2
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     DB::table('usergroups')->truncate();
     UserGroups::create(array('GroupName' => 'Admin', 'Permissions' => 'all'));
 }