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