This commit is contained in:
snipe
2013-11-16 08:12:25 -05:00
parent ea7b0c1c0c
commit c1e1323e68
7 changed files with 14 additions and 17 deletions
@@ -19,7 +19,7 @@ class ManufacturersController extends AdminController {
*/
public function getIndex()
{
// Grab all the blog posts
// Grab all the manufacturers
$manufacturers = Manufacturer::orderBy('created_at', 'DESC')->paginate(10);
// Show the page
@@ -106,7 +106,7 @@ class ManufacturersController extends AdminController {
*/
public function postEdit($manufacturerId = null)
{
// Check if the blog post exists
// Check if the manufacturer exists
if (is_null($manufacturer = Manufacturer::find($manufacturerId)))
{
// Redirect to the manufacturer page