Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit 50718e3

Browse files
committed
Синхронизация с laravel/laravel
1 parent 307e7f5 commit 50718e3

File tree

12 files changed

+33
-26
lines changed

12 files changed

+33
-26
lines changed

.gitignore

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
/.idea
2-
/vendor
31
/node_modules
4-
/packages
2+
/public/storage
3+
/storage/*.key
4+
/vendor
5+
/.idea
6+
Homestead.json
7+
Homestead.yaml
58
.env
69
.ide.helper.php
710
.phpstorm.meta.php

app/Http/Controllers/Auth/ResetPasswordController.php

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ class ResetPasswordController extends Controller
2020

2121
use ResetsPasswords;
2222

23+
/**
24+
* Where to redirect users after resetting their password.
25+
*
26+
* @var string
27+
*/
28+
protected $redirectTo = '/home';
29+
2330
/**
2431
* Create a new controller instance.
2532
*

config/filesystems.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
|--------------------------------------------------------------------------
99
|
1010
| Here you may specify the default filesystem disk that should be used
11-
| by the framework. A "local" driver, as well as a variety of cloud
12-
| based drivers are available for your choosing. Just store away!
13-
|
14-
| Supported: "local", "ftp", "s3", "rackspace"
11+
| by the framework. The "local" disk, as well as a variety of cloud
12+
| based disks are available to your application. Just store away!
1513
|
1614
*/
1715

@@ -39,6 +37,8 @@
3937
| may even configure multiple disks of the same driver. Defaults have
4038
| been setup for each driver as an example of the required options.
4139
|
40+
| Supported Drivers: "local", "ftp", "s3", "rackspace"
41+
|
4242
*/
4343

4444
'disks' => [

database/migrations/.gitkeep

-1
This file was deleted.

database/seeds/.gitkeep

-1
This file was deleted.

gulpfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ require('laravel-elixir-vue-2');
99
|
1010
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
1111
| for your Laravel application. By default, we are compiling the Sass
12-
| file for our application, as well as publishing vendor resources.
12+
| file for your application as well as publishing vendor resources.
1313
|
1414
*/
1515

16-
elixir(mix => {
16+
elixir((mix) => {
1717
mix.sass('app.scss')
1818
.webpack('app.js');
1919
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"bootstrap-sass": "^3.3.7",
99
"gulp": "^3.9.1",
1010
"jquery": "^3.1.0",
11-
"laravel-elixir": "^6.0.0-9",
11+
"laravel-elixir": "^6.0.0-11",
1212
"laravel-elixir-vue-2": "^0.2.0",
1313
"laravel-elixir-webpack-official": "^1.0.2",
1414
"lodash": "^4.16.2",

readme.md

-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<p align="center">
77
<img src="https://avatars3.githubusercontent.com/u/5966874?v=3&s=200"><br><br>
88
<strong>Скелет приложения на базе Laravel 5.3 от сообщества LaravelRUS.</strong><br>
9-
Ранняя альфа.
109
</p>
1110

1211
--
@@ -25,7 +24,3 @@
2524
* ключ `app.local_providers` для провайдеров, которые будут загружаться только в среде `local`;
2625
* пакет [laravel/socialite](https://github.com/laravel/socialite) и дополнительные провайдеры для ВКонтакте, Яндекс, Маил.ру и Одноклассников (для активации - раскомментировать провайдер `SocialiteProviders\Manager\ServiceProvider`);
2726
* пакеты [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) и [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper), подключаются в `app.local_providers`.
28-
29-
#### Планы:
30-
31-
* удалить `routes/console.php` и возможность создавать консольные команды через анонимные функции.

resources/assets/js/app.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ require('./bootstrap');
99

1010
/**
1111
* Next, we will create a fresh Vue application instance and attach it to
12-
* the body of the page. From here, you may begin adding components to
13-
* the application, or feel free to tweak this setup for your needs.
12+
* the page. Then, you may begin adding components to this application
13+
* or customize the JavaScript scaffolding to fit your unique needs.
1414
*/
1515

1616
Vue.component('example', require('./components/Example.vue'));
1717

1818
const app = new Vue({
19-
el: '#app'
19+
el: '#app'
2020
});

resources/assets/sass/_variables.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $brand-primary: #3097D1;
1414
$brand-info: #8eb4cb;
1515
$brand-success: #2ab27b;
1616
$brand-warning: #cbb956;
17-
$brand-danger: #bf5329;
17+
$brand-danger: #bf5329;
1818

1919
// Typography
2020
$font-family-sans-serif: "Raleway", sans-serif;

resources/views/welcome.blade.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,12 @@
6868
<div class="flex-center position-ref full-height">
6969
@if (app('router')->has('login'))
7070
<div class="top-right links">
71-
<a href="{{ url('/login') }}">Login</a>
72-
<a href="{{ url('/register') }}">Register</a>
71+
@if (auth()->check())
72+
<a href="{{ url('/home') }}">Home</a>
73+
@else
74+
<a href="{{ url('/login') }}">Login</a>
75+
<a href="{{ url('/register') }}">Register</a>
76+
@endif
7377
</div>
7478
@endif
7579

routes/web.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
| Web Routes
1010
|--------------------------------------------------------------------------
1111
|
12-
| This file is where you may define all of the routes that are handled
13-
| by your application. Just tell Laravel the URIs it should respond
14-
| to using a Closure or controller method. Build something great!
12+
| Here is where you can register web routes for your application. These
13+
| routes are loaded by the RouteServiceProvider within a group which
14+
| contains the "web" middleware group. Now create something great!
1515
|
1616
*/
1717

0 commit comments

Comments
 (0)