Main.php 269 Bytes
Newer Older
Mindiell's avatar
Mindiell committed
1 2 3 4
<?php

class Main extends Controller {
    /*
Mindiell's avatar
Mindiell committed
5 6 7 8 9
     * Home page
     * Presents campaign information and a random Contact
     */
    function home($f3,$args) {
        $f3->set('campaign', Api::get_campaign());
Mindiell's avatar
Mindiell committed
10 11 12 13 14
        $f3->set('block_content','home.html');
    }

};