Commit 731719b6 authored by Nicolas Widart's avatar Nicolas Widart

Changing controller namesapce. Adding resource methods

parent bd498e1a
<?php namespace Modules\Media\Http\Controllers\Admin;
use Illuminate\Support\Facades\View;
use Modules\Core\Http\Controllers\Admin\AdminBaseController;
class MediaController extends AdminBaseController
{
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
return View::make('media::admin.index');
}
/**
* Show the form for creating a new resource.
*
* @return Response
*/
public function create()
{
return \View::make('media.create');
}
/**
* Store a newly created resource in storage.
*
* @return Response
*/
public function store()
{
//
}
/**
* Display the specified resource.
*
* @param int $id
* @return Response
*/
public function show($id)
{
return \View::make('media.show');
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return Response
*/
public function edit($id)
{
return \View::make('media.edit');
}
/**
* Update the specified resource in storage.
*
* @param int $id
* @return Response
*/
public function update($id)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return Response
*/
public function destroy($id)
{
//
}
}
<?php namespace Modules\Media\Http\Controllers;
use Illuminate\Routing\Controller;
class MediaController extends Controller
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment