8000 Add custom attributes param for Controller Validation by trauma2u · Pull Request #109 · laravel/lumen-framework · GitHub
[go: up one dir, main page]

Skip to content

Add custom attributes param for Controller Validation #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2015

Conversation

trauma2u
Copy link
Contributor

Validator::make() has the 4th param $customAttributes and it's so useful.
In case of Controller Validation, $this->validate() doesn't work with it.
The simplest solution is just to add $customAttributes param to ValidatesRequests::validate().

taylorotwell added a commit that referenced this pull request May 21, 2015
Add custom attributes param for Controller Validation
@taylorotwell taylorotwell merged commit 19d4a92 into laravel:5.0 May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0