keep database\factories
This commit is contained in:
parent
ffbbc04206
commit
d65f7ced34
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
namespace App\Library\Xml;
|
||||
|
||||
use App\Models\Title;
|
||||
|
||||
/**
|
||||
* DatasetExtension short summary.
|
||||
*
|
||||
|
@ -13,12 +15,12 @@ trait DatasetExtension
|
|||
{
|
||||
protected $_externalFields = array(
|
||||
'TitleMain' => array(
|
||||
'model' => 'App\Title',
|
||||
'model' => Title::class,
|
||||
'options' => array('type' => 'main'),
|
||||
'fetch' => 'eager'
|
||||
),
|
||||
'TitleAbstract' => array(
|
||||
'model' => 'App\Title',
|
||||
'model' => Title::class,
|
||||
'options' => array('type' => 'abstract'),
|
||||
'fetch' => 'eager'
|
||||
),
|
||||
|
@ -53,7 +55,6 @@ trait DatasetExtension
|
|||
),
|
||||
);
|
||||
|
||||
|
||||
protected $_internalFields = array();
|
||||
|
||||
protected $_fields = array();
|
||||
|
|
0
database/factories/.gitkeep
Normal file
0
database/factories/.gitkeep
Normal file
|
@ -97,11 +97,11 @@
|
|||
</p>-->
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-funded">
|
||||
@hasrole('administrator')
|
||||
@role('administrator')
|
||||
I'm an administrator!
|
||||
@else
|
||||
I'm not an administrator...
|
||||
@endhasrole
|
||||
@endrole
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-1-4 footer-funded">
|
||||
</div>
|
||||
|
|
|
@ -92,10 +92,10 @@
|
|||
<a href="#" class="pure-menu-link">{{ Auth::user()->login }} <span class="fa fa-angle-down"></span></a>
|
||||
<ul class="pure-menu-children" role="menu">
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{route('user.edit',['id'=>Auth::user()->id]) }}"><i class="fa fa-user"></i> EDIT</a> </li>
|
||||
@hasrole('administrator')
|
||||
@role('administrator')
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{route('user.index') }}"><i class="fa fa-users"></i> EDIT USERS</a></li>
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{route('role.index') }}"><i class="fa fa-key"></i> EDIT ROLES</a></li>
|
||||
@endhasrole
|
||||
@endrole
|
||||
<li class="pure-menu-item"><a class="pure-menu-link" href="{{ route('logout') }}"><i class="fa fa-sign-out"></i> LOG OUT</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue
Block a user