Add initial pack creation and overview pages
This commit is contained in:
parent
2d90187c83
commit
50558db7c3
21 changed files with 944 additions and 487 deletions
|
@ -47,7 +47,7 @@ class PackController extends Controller
|
|||
*/
|
||||
public function pull(Request $request, $uuid)
|
||||
{
|
||||
$pack = Models\ServicePack::where('uuid', $uuid)->first();
|
||||
$pack = Models\Pack::where('uuid', $uuid)->first();
|
||||
|
||||
if (! $pack) {
|
||||
return response()->json(['error' => 'No such pack.'], 404);
|
||||
|
@ -68,7 +68,7 @@ class PackController extends Controller
|
|||
*/
|
||||
public function hash(Request $request, $uuid)
|
||||
{
|
||||
$pack = Models\ServicePack::where('uuid', $uuid)->first();
|
||||
$pack = Models\Pack::where('uuid', $uuid)->first();
|
||||
|
||||
if (! $pack) {
|
||||
return response()->json(['error' => 'No such pack.'], 404);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue