Completed
Pull Request — master (#368)
by Shiro
28:45
created
routes/api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Route::middleware('auth:api')->get('/user', function (Request $request) {
16
+Route::middleware('auth:api')->get('/user', function(Request $request) {
17 17
     return $request->user();
18 18
 });
19 19
 
20
-Route::group(['prefix' => 'v1','middleware' => 'auth:api'], function () {
20
+Route::group([ 'prefix' => 'v1', 'middleware' => 'auth:api' ], function() {
21 21
     //    Route::resource('task', 'TasksController');
22 22
 
23 23
     //Please do not remove this if you want adminlte:route and adminlte:link commands to works correctly.
Please login to merge, or discard this patch.
resources/lang/pl/message.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@
 block discarded – undo
57 57
     'anotherlink'             => 'Kolejny link',
58 58
     'multilevel'              => 'Wielopoziomowy',
59 59
     'linklevel2'              => 'Link w poziomie 2',
60
-    'birthday'                => 'Langdon\'s Birthday',//it can't be translated to polish when it is split like that (I can but it won't be logical)
61
-    'birthdaydate'            => 'Will be 23 on April 24th',//it can't be translated to polish when it is split like that (I can but it won't be logical)
60
+    'birthday'                => 'Langdon\'s Birthday', //it can't be translated to polish when it is split like that (I can but it won't be logical)
61
+    'birthdaydate'            => 'Will be 23 on April 24th', //it can't be translated to polish when it is split like that (I can but it won't be logical)
62 62
     'progress'                => 'Postęp zadań',
63 63
     'customtemplate'          => 'Niestandardowy projekt szablonu',
64 64
     'statstab'                => 'Zawartość tablicy statystyk',
Please login to merge, or discard this patch.
migrations/username_login/2014_10_12_200000_add_username_to_users_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('users', function (Blueprint $table) {
16
+        Schema::table('users', function(Blueprint $table) {
17 17
             $table->string('username')->unique()->nullable()->after('name');
18 18
         });
19 19
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('users', function (Blueprint $table) {
28
+        Schema::table('users', function(Blueprint $table) {
29 29
             $table->dropColumn('username');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
routes/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-Route::get('/', function () {
14
+Route::get('/', function() {
15 15
     return view('welcome');
16 16
 });
17 17
 
18
-Route::group(['middleware' => 'web'], function () {
18
+Route::group([ 'middleware' => 'web' ], function() {
19 19
 
20 20
 
21 21
     //Please do not remove this if you want adminlte:route and adminlte:link commands to works correctly.
Please login to merge, or discard this patch.
src/Http/routes.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
  * RouteServiceProvider
7 7
  */
8 8
 Route::group(['middleware' => 'web'], function () {
9
-	if (config('adminlte.auth_route', true))
10
-    	Route::auth();
9
+    if (config('adminlte.auth_route', true))
10
+        Route::auth();
11 11
 
12 12
     Route::get('/home', 'HomeController@index');
13 13
 });
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * but take into account we have to add 'web' middleware group here because Laravel by defaults add this middleware in
6 6
  * RouteServiceProvider
7 7
  */
8
-Route::group(['middleware' => 'web'], function () {
8
+Route::group([ 'middleware' => 'web' ], function() {
9 9
 	if (config('adminlte.auth_route', true))
10 10
     	Route::auth();
11 11
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,9 @@
 block discarded – undo
6 6
  * RouteServiceProvider
7 7
  */
8 8
 Route::group(['middleware' => 'web'], function () {
9
-	if (config('adminlte.auth_route', true))
10
-    	Route::auth();
9
+	if (config('adminlte.auth_route', true)) {
10
+	    	Route::auth();
11
+	}
11 12
 
12 13
     Route::get('/home', 'HomeController@index');
13 14
 });
Please login to merge, or discard this patch.