mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 16:32:15 +00:00
frontend/backend update
This commit is contained in:
22
app/Http/Controllers/General/PricingController.php
Normal file
22
app/Http/Controllers/General/PricingController.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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()
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user