invoiceninja/app/controllers/HomeController.php

31 lines
475 B
PHP
Raw Normal View History

2013-11-26 14:45:07 +02:00
<?php
class HomeController extends BaseController {
protected $layout = 'master';
public function showWelcome()
{
2013-12-07 20:45:00 +02:00
return View::make('splash');
2013-11-26 14:45:07 +02:00
}
2014-01-02 15:21:15 +02:00
2014-02-26 18:08:40 +02:00
public function showAboutUs()
{
return View::make('about_us');
}
2014-02-26 18:50:27 +02:00
public function showContactUs()
{
return View::make('contact_us');
}
2014-01-08 20:09:47 +00:00
public function showComingSoon()
{
return View::make('coming_soon');
}
2014-01-02 15:21:15 +02:00
public function logError()
{
2014-01-08 23:22:56 +00:00
return Utils::logError(Input::get('error'), 'JavaScript');
2014-01-02 15:21:15 +02:00
}
2013-11-26 14:45:07 +02:00
}