More fixes for #88

This commit is contained in:
snipe
2013-11-29 14:37:06 -05:00
parent 7003eff42c
commit 567f395afa
+2 -2
View File
@@ -273,7 +273,7 @@ class AssetsController extends AdminController {
// Redirect to the asset management page with error
return Redirect::to("assets/$assetId/edit")->with('error', Lang::get('admin/hardware/message.update.error'));
return Redirect::to("hardware/$assetId/edit")->with('error', Lang::get('admin/hardware/message.update.error'));
}
@@ -386,7 +386,7 @@ class AssetsController extends AdminController {
}
// Redirect to the asset management page with error
return Redirect::to("assets/$assetId/checkout")->with('error', Lang::get('admin/hardware/message.checkout.error'));
return Redirect::to("hardware/$assetId/checkout")->with('error', Lang::get('admin/hardware/message.checkout.error'));
}