Add new form partial and AJAX endpoint for custom fields.

This commit is contained in:
Brady Wetherington
2015-12-01 17:17:32 -08:00
parent 475fc4855c
commit e88f5629df
4 changed files with 36 additions and 11 deletions
@@ -374,6 +374,14 @@ class ModelsController extends AdminController
return $view;
}
public function getCustomFields($modelId)
{
$model=Model::find($modelId);
return View::make("backend.models.custom_fields_form")->with("model",$model);
}
/**