Skip to content

Commit 250d78b

Browse files
committed
Sync
1 parent f83e2dc commit 250d78b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1710
-50
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"keywords": ["laravel", "preset", "vuetify"],
55
"license": "MIT",
66
"require": {
7-
"laravel/framework": "5.5.*"
7+
"laravel/framework": "^5.6",
8+
"laravel/passport": "^6.0"
89
},
910
"autoload": {
1011
"psr-4": {
@@ -18,5 +19,4 @@
1819
]
1920
}
2021
}
21-
2222
}

src/vuetify-stubs/.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

src/vuetify-stubs/.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/build/
2+
/config/
3+
/dist/
4+
/*.js
5+
/test/unit/coverage/

src/vuetify-stubs/.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// https://eslint.org/docs/user-guide/configuring
2+
3+
module.exports = {
4+
root: true,
5+
parser: 'babel-eslint',
6+
parserOptions: {
7+
sourceType: 'module'
8+
},
9+
env: {
10+
browser: true,
11+
},
12+
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
13+
extends: 'standard',
14+
// required to lint *.vue files
15+
plugins: [
16+
'html'
17+
],
18+
// add your custom rules here
19+
rules: {
20+
// allow async-await
21+
'generator-star-spacing': 'off',
22+
// allow debugger during development
23+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
24+
}
25+
}

src/vuetify-stubs/Controllers/HomeController.php

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
namespace App\Http\Controllers;
4+
5+
use Auth;
6+
use Illuminate\Http\Request;
7+
8+
/**
9+
* Class LoggedUserController.
10+
*
11+
* @package App\Http\Controllers
12+
*/
13+
class LoggedUserController extends Controller
14+
{
15+
/**
16+
* Update user.
17+
* @param Request $request
18+
* @return \App\User|null
19+
*/
20+
public function update(Request $request)
21+
{
22+
Auth::user()->update($request->only(['name','email']));
23+
return Auth::user();
24+
}
25+
}

0 commit comments

Comments
 (0)