Move API related routes to routes/api.php

This commit is contained in:
DariusIII
2018-05-28 23:00:42 +02:00
parent e410b8f311
commit 9bc9f5d0bf
4 changed files with 31 additions and 59 deletions
+1
View File
@@ -1,4 +1,5 @@
2018-05-28 DariusIII
* Chg: Move API related routes to routes/api.php
* Chg: Update phpunit/php-code-coverage to version 6.0.5
* Fix: Fix issues related to myshows, their rss and browsing
* Fix: Fix issues in admin/group-list page, fixes issue #603
Generated
+25 -50
View File
@@ -312,8 +312,7 @@
"Gemfile.lock",
"*.md"
]
},
"time": "2016-06-06T17:37:52+00:00"
}
},
{
"name": "bower-asset/autosize",
@@ -342,8 +341,7 @@
"form",
"textarea",
"ui"
],
"time": "2017-05-19T15:36:30+00:00"
]
},
{
"name": "bower-asset/bootstrap",
@@ -392,8 +390,7 @@
"mobile-first",
"responsive",
"web"
],
"time": "2016-07-25T15:51:55+00:00"
]
},
{
"name": "bower-asset/bootstrap-3.x",
@@ -442,8 +439,7 @@
"mobile-first",
"responsive",
"web"
],
"time": "2016-07-25T15:51:55+00:00"
]
},
{
"name": "bower-asset/bootstrap-datepicker",
@@ -472,8 +468,7 @@
},
"license": [
"Apache-2.0"
],
"time": "2016-08-05T09:50:13+00:00"
]
},
{
"name": "bower-asset/bootstrap-hover-dropdown",
@@ -503,8 +498,7 @@
"dropdowns",
"hover",
"twitter"
],
"time": "2015-12-01T23:35:57+00:00"
]
},
{
"name": "bower-asset/bootstrap-progressbar",
@@ -538,8 +532,7 @@
},
"license": [
"MIT"
],
"time": "2015-05-15T18:56:17+00:00"
]
},
{
"name": "bower-asset/bootswatch",
@@ -670,8 +663,7 @@
"modal",
"popup",
"ui"
],
"time": "2016-05-10T22:21:33+00:00"
]
},
{
"name": "bower-asset/datatables",
@@ -719,8 +711,7 @@
"jquery",
"library",
"table"
],
"time": "2017-08-31T13:52:17+00:00"
]
},
{
"name": "bower-asset/fancybox",
@@ -786,8 +777,7 @@
"tests",
"examples"
]
},
"time": "2015-01-26T21:19:01+00:00"
}
},
{
"name": "bower-asset/flexboxgrid",
@@ -823,8 +813,7 @@
"css",
"flexbox",
"grid"
],
"time": "2016-08-14T16:43:18+00:00"
]
},
{
"name": "bower-asset/font-awesome",
@@ -869,8 +858,7 @@
"src",
"build.xml"
]
},
"time": "2015-07-20T20:04:00+00:00"
}
},
{
"name": "bower-asset/icheck",
@@ -920,8 +908,7 @@
"replacement",
"skins",
"ui"
],
"time": "2014-03-03T17:36:28+00:00"
]
},
{
"name": "bower-asset/jquery",
@@ -984,8 +971,7 @@
"javascript",
"jquery",
"library"
],
"time": "2016-05-20T17:24:43+00:00"
]
},
{
"name": "bower-asset/jquery-3.2.x",
@@ -1052,8 +1038,7 @@
"scroll",
"scrolltop",
"scrolltotop"
],
"time": "2017-08-31T15:51:29+00:00"
]
},
{
"name": "bower-asset/jquery-migrate-1.4.x",
@@ -1072,8 +1057,7 @@
"type": "bower-asset-library",
"extra": {
"bower-asset-main": "jquery-migrate.js"
},
"time": "2016-04-15T06:38:34+00:00"
}
},
{
"name": "bower-asset/jquery-migrate-3.0.x",
@@ -1092,8 +1076,7 @@
"type": "bower-asset-library",
"extra": {
"bower-asset-main": "jquery-migrate.js"
},
"time": "2016-06-10T14:28:59+00:00"
}
},
{
"name": "bower-asset/jquery.nicescroll",
@@ -1123,8 +1106,7 @@
"demo",
"package.json"
]
},
"time": "2016-03-01T20:38:24+00:00"
}
},
{
"name": "bower-asset/material-design-iconic-font",
@@ -1163,8 +1145,7 @@
"font",
"icons",
"material"
],
"time": "2015-11-08T04:50:28+00:00"
]
},
{
"name": "bower-asset/materialize",
@@ -1223,8 +1204,7 @@
"responsive",
"sass",
"ux"
],
"time": "2017-04-15T01:39:28+00:00"
]
},
{
"name": "bower-asset/pace",
@@ -1270,8 +1250,7 @@
"progress",
"progress",
"spinner"
],
"time": "2014-11-06T16:31:34+00:00"
]
},
{
"name": "bower-asset/pnotify",
@@ -1323,8 +1302,7 @@
"license": [
"Apache-2.0"
],
"description": "JavaScript notification plugin.",
"time": "2017-07-31T21:50:29+00:00"
"description": "JavaScript notification plugin."
},
{
"name": "bower-asset/respond",
@@ -1348,8 +1326,7 @@
"test"
]
},
"description": "Fast and lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)",
"time": "2013-12-19T04:44:31+00:00"
"description": "Fast and lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)"
},
{
"name": "bower-asset/responsive-tables-js",
@@ -1379,8 +1356,7 @@
"jquery",
"responsive",
"table"
],
"time": "2015-10-08T14:18:04+00:00"
]
},
{
"name": "bower-asset/select2",
@@ -1448,8 +1424,7 @@
"scrolling",
"slimscroll",
"ui"
],
"time": "2016-06-11T09:19:14+00:00"
]
},
{
"name": "bower-asset/tinymce-dist",
+5 -2
View File
@@ -13,6 +13,9 @@ use Illuminate\Http\Request;
|
*/
Route::middleware('auth:api')->get('/user', function (Request $request) {
return $request->user();
Route::prefix('v1')->group(function () {
Route::namespace('Api')->group(function () {
Route::get('api', 'ApiController@api');
Route::post('api', 'ApiController@api');
});
});
-7
View File
@@ -53,13 +53,6 @@ Route::prefix('cart')->group(function () {
Route::post('delete/{id}', 'CartController@destroy');
});
Route::prefix('api/v1')->group(function () {
Route::namespace('Api')->group(function () {
Route::get('api', 'ApiController@api');
Route::post('api', 'ApiController@api');
});
});
Route::get('details/{guid}', 'DetailsController@show');
Route::post('details/{guid}', 'DetailsController@show');