Groundwork

This commit is contained in:
Russ Long 2018-03-30 08:04:18 -04:00
parent 55ac181aa0
commit c057f58b9b
6 changed files with 47 additions and 1 deletions

View File

@ -3,8 +3,31 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use View;
Use App\helpers;
class PagesController extends Controller class PagesController extends Controller
{ {
// public function home()
{
return view('home');
}
public function domains(Request $domain_req)
{
return view('domains');
}
public function newrecord(Request $newrec_req)
{
return view('newrecord');
}
public function updaterecord(Request $updaterec_req)
{
return view('updaterecord');
}
} }

23
app/helpers.php Normal file
View File

@ -0,0 +1,23 @@
<?php
namespace App;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class DomainInfo
{
public static function DomainGetInfo()
{
return $domain_info;
}
}
class RecordInfo
{
public static function RecordGetInfo()
{
return $record_info;
}
}
?>

View File

View File

View File

View File