cleaning up code.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell 2012-02-25 22:32:12 -06:00
parent 2a02b9f6ac
commit 909413916c
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ protected function attribute($attribute)
// More reader friendly versions of the attribute names may be stored
// in the validation language file, allowing a more readable version
// of the attribute name to be used in the message.
// of the attribute name in the message.
$line = "{$bundle}validation.attributes.{$attribute}";
$display = Lang::line($line)->get($this->language);