Merge pull request #522 from kloy/master
Custom validation messages in language file fix.
This commit is contained in:
commit
a3e0c7c0c4
|
@ -692,7 +692,7 @@ protected function message($attribute, $rule)
|
|||
{
|
||||
return $this->messages[$custom];
|
||||
}
|
||||
elseif (Lang::has($custom = "validation.custom.{$custom}", $this->language))
|
||||
elseif (Lang::has($custom = "{$bundle}validation.custom.{$custom}", $this->language))
|
||||
{
|
||||
return Lang::line($custom)->get($this->language);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue