* More helpful text on how the custom validator works * Clarified language of custom format, fixed regex example * Fixed regex example in placeholder * Added comments to custom fields * Added regex validation string * Added valid_regex validator in format requirements * Removed useles comments * Fixes #4236 - validate the regex custom validation
This commit is contained in:
@@ -71,9 +71,7 @@ class CategoriesController extends Controller
|
||||
*/
|
||||
public function store(ImageUploadRequest $request)
|
||||
{
|
||||
// create a new model instance
|
||||
$category = new Category();
|
||||
// Update the category data
|
||||
$category->name = $request->input('name');
|
||||
$category->category_type = $request->input('category_type');
|
||||
$category->eula_text = $request->input('eula_text');
|
||||
|
||||
Reference in New Issue
Block a user