rename dataset-create to dataset-submit
This commit is contained in:
parent
8e8acf9f21
commit
5df9b0beef
|
@ -88,11 +88,11 @@
|
||||||
</li>
|
</li>
|
||||||
@endpermission
|
@endpermission
|
||||||
|
|
||||||
@role(array('administrator', 'editor', 'reviewer'))
|
@role(array('administrator', 'editor', 'reviewer', 'submitter'))
|
||||||
<li class="treeview">
|
<li class="treeview">
|
||||||
<h2 class="pure-menu-heading">Publish</h2>
|
<h2 class="pure-menu-heading">Publish</h2>
|
||||||
<ul class="pure-menu-list">
|
<ul class="pure-menu-list">
|
||||||
@permission('dataset-create')
|
@permission('dataset-submit')
|
||||||
<li class="pure-menu-item {{ Route::is('publish.dataset.create') ? 'active' : '' }}">
|
<li class="pure-menu-item {{ Route::is('publish.dataset.create') ? 'active' : '' }}">
|
||||||
<a class="pure-menu-link" href="{{ URL::route('publish.dataset.create') }}"><i class="fa fa-upload"></i> Create</a>
|
<a class="pure-menu-link" href="{{ URL::route('publish.dataset.create') }}"><i class="fa fa-upload"></i> Create</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -39,7 +39,7 @@ Route::group(
|
||||||
'as' => 'dataset.index', 'uses' => 'IndexController@index',
|
'as' => 'dataset.index', 'uses' => 'IndexController@index',
|
||||||
]);
|
]);
|
||||||
Route::get('dataset/create-step1', [
|
Route::get('dataset/create-step1', [
|
||||||
'middleware' => ['permission:dataset-create'],
|
'middleware' => ['permission:dataset-submit'],
|
||||||
'as' => 'dataset.create',
|
'as' => 'dataset.create',
|
||||||
'uses' => 'IndexController@createStep1',
|
'uses' => 'IndexController@createStep1',
|
||||||
]);
|
]);
|
||||||
|
@ -50,7 +50,7 @@ Route::group(
|
||||||
|
|
||||||
// Route::get('dataset/create-step3', ['as' => 'dataset.create3', 'uses' => 'IndexController@createStep3']);
|
// Route::get('dataset/create-step3', ['as' => 'dataset.create3', 'uses' => 'IndexController@createStep3']);
|
||||||
Route::post('dataset/store', [
|
Route::post('dataset/store', [
|
||||||
'middleware' => ['permission:dataset-create'],
|
'middleware' => ['permission:dataset-submit'],
|
||||||
'as' => 'dataset.store',
|
'as' => 'dataset.store',
|
||||||
'uses' => 'IndexController@store',
|
'uses' => 'IndexController@store',
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user