#23 add rankings

This commit is contained in:
Nabeel Shahzad
2017-06-21 20:18:01 -05:00
parent 363d463833
commit 5b920151b8
12 changed files with 78 additions and 104 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
use App\Models\Rank;
class UpdateRankRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return Rank::$rules;
}
}