1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

start mysql in travis

This commit is contained in:
David Bomba 2019-04-24 11:21:50 +10:00
parent 639b22c69c
commit 2a613d2722
4 changed files with 6 additions and 40 deletions

View File

@ -45,6 +45,9 @@ install:
# - sed -i '/2checkout/d' composer.json
- travis_retry composer install --no-interaction
services:
- mysql
before_script:
# copy configuration files
- php artisan key:generate --no-interaction

View File

@ -7,11 +7,6 @@ use App\Http\Controllers\Controller;
class DashboardController extends Controller
{
public function __construct()
{
}
/**
* Display a listing of the resource.
@ -20,7 +15,7 @@ class DashboardController extends Controller
*/
public function index()
{
$this->middleware('auth:contact');
}
/**

View File

@ -1,33 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
/**
* Class ContactController
* @package App\Http\Controllers
*/
class ContactController extends BaseController
{
/**
* ContactController constructor.
*/
public function __construct()
{
parent::__construct();
$this->middleware('auth:contact');
}
/**
* show dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('contact.index');
}
}

View File

@ -101,7 +101,8 @@ Authenticated Contact Routes
Route::group(['prefix' => 'contact', 'middleware' => 'auth:contact'], function () {
Route::get('/', 'ContactController@index')->name('contact.dashboard');
Route::get('/', 'ClientPortal\DashboardController@index')->name('contact.dashboard');
Route::get('logout', 'Auth\ContactLoginController@logout')->name('contact.logout');
});