mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-24 18:00:40 +00:00
23 lines
449 B
PHP
23 lines
449 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\General;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Http\Resources\PricingCollection;
|
|
use Illuminate\Http\Request;
|
|
|
|
class PricingController extends Controller
|
|
{
|
|
/**
|
|
* Get all active plans
|
|
*
|
|
* @return PricingCollection
|
|
*/
|
|
public function index() {
|
|
|
|
return new PricingCollection(
|
|
app('rinvex.subscriptions.plan')->where('is_active', 1)->get()
|
|
);
|
|
}
|
|
}
|