mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-01-25 21:40:13 -06:00
- Complete rewrite of meta data system - New media hub feature. - Torrent Bumping Refactor - Wish System Disabled until refactored - Fetch meta command added for fetchinng new meta on prexsisnting torrents. - plus alot more - closes #1428 - closes #1344 - closes #1147 - closes #361
43 lines
1018 B
PHP
43 lines
1018 B
PHP
<?php
|
|
/**
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* UNIT3D is open-sourced software licensed under the GNU General Public License v3.0
|
|
* The details is bundled with this project in the file LICENSE.txt.
|
|
*
|
|
* @project UNIT3D
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
|
|
* @author HDVinnie
|
|
*/
|
|
|
|
namespace App\Http\Controllers\MediaHub;
|
|
|
|
use App\Models\Network;
|
|
use App\Http\Controllers\Controller;
|
|
|
|
class NetworkController extends Controller
|
|
{
|
|
/**
|
|
* Display All Networks.
|
|
*
|
|
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
|
*/
|
|
public function index()
|
|
{
|
|
return view('mediahub.network.index');
|
|
}
|
|
|
|
/**
|
|
* Show A Network.
|
|
*
|
|
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
|
*/
|
|
public function show($id)
|
|
{
|
|
$network = Network::with('tv')->findOrFail($id);
|
|
|
|
return view('mediahub.network.show', [
|
|
'network' => $network,
|
|
]);
|
|
}
|
|
} |