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:
parent
639b22c69c
commit
2a613d2722
@ -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
|
||||
|
@ -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');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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');
|
||||
}
|
||||
}
|
@ -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');
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user