Notes are now edited inline (with Vue.js) and can be marked as favorites. Favorite notes will appear on the dashboard in a new tab.
29 lines
473 B
PHP
29 lines
473 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\People;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class NoteToggleRequest extends FormRequest
|
|
{
|
|
/**
|
|
* 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 [];
|
|
}
|
|
}
|