diff --git a/logic/Actions/FetchData.php b/logic/Actions/FetchData.php index b293e3b..2f8111a 100644 --- a/logic/Actions/FetchData.php +++ b/logic/Actions/FetchData.php @@ -3,21 +3,16 @@ namespace AirQuality\Actions; -class Index { +class FetchData { private $settings; private $renderer; public function __construct( \SBRL\TomlConfig $in_settings) { $this->settings = $in_settings; - $this->renderer = $in_renderer; } public function handle() { - echo($this->renderer->render_file(ROOT_DIR."templates/main.html", [ - "title" => "Home", - "content" => file_get_contents(ROOT_DIR."templates/mockup.html"), - "footer_html" => "" - ])); + echo("Testing"); } }