FEATURE: add handler for displaying static pages

This commit is contained in:
Michal Kváček
2016-02-17 13:29:30 +01:00
parent 37a698b631
commit 03086f7fd3
3 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
namespace Modules\StaticPages\Handlers;
use App\Handlers\Handler;
use App\Http\Controllers\Controller;
use App\Models\Content;
use App\Models\User;
@@ -29,6 +30,6 @@ class StaticPage extends Handler
*/
public function render(Content $content, $parameters)
{
// TODO: Implement render() method.
return Controller::VisitorsView('staticpages::content', ['page' => $content]);
}
}