Add validation error message for the 'required_without' rule

This commit is contained in:
Anders Hammar
2013-04-03 23:14:39 +02:00
parent 67488916f4
commit c9771d2fff

View File

@@ -53,6 +53,7 @@ return array(
"regex" => "The :attribute format is invalid.",
"required" => "The :attribute field is required.",
"required_with" => "The :attribute field is required when :values is present.",
"required_without" => "The :attribute field is required when :values is not present.",
"same" => "The :attribute and :other must match.",
"size" => array(
"numeric" => "The :attribute must be :size.",