REFACTORING: another ugly commit full of refactored code

This commit is contained in:
Michal Kváček
2016-10-19 00:28:44 +02:00
parent 4f6a006ad9
commit 28f67ffe3c
34 changed files with 101 additions and 258 deletions
+1 -7
View File
@@ -2,8 +2,6 @@
namespace App\Http\Controllers\Visitor;
use App\Http\Requests;
class Homepage extends ContentPage
{
public function getIndex()
@@ -17,10 +15,6 @@ class Homepage extends ContentPage
}
// render page
// try {
return $this->renderPage($page);
// } catch (\Exception $e) {
// return view('errors.homepageNotAvailable', ['exception' => $e, 'reason' => 'exception']);
// }
return $this->renderPage($page);
}
}