Disable account API until it is implemented
This commit is contained in:
parent
7a19019980
commit
c0abf64f83
2 changed files with 14 additions and 13 deletions
|
@ -97,11 +97,11 @@
|
|||
<i class="fa fa-lock"></i> <span>@lang('navigation.account.security_controls')</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ (Route::currentRouteName() !== 'account.api' && Route::currentRouteName() !== 'account.api.new') ?: 'active' }}">
|
||||
<a href="{{ route('account.api')}}">
|
||||
<i class="fa fa-code"></i> <span>@lang('navigation.account.api_access')</span>
|
||||
</a>
|
||||
</li>
|
||||
{{--<li class="{{ (Route::currentRouteName() !== 'account.api' && Route::currentRouteName() !== 'account.api.new') ?: 'active' }}">--}}
|
||||
{{--<a href="{{ route('account.api')}}">--}}
|
||||
{{--<i class="fa fa-code"></i> <span>@lang('navigation.account.api_access')</span>--}}
|
||||
{{--</a>--}}
|
||||
{{--</li>--}}
|
||||
<li class="{{ Route::currentRouteName() !== 'index' ?: 'active' }}">
|
||||
<a href="{{ route('index')}}">
|
||||
<i class="fa fa-server"></i> <span>@lang('navigation.account.my_servers')</span>
|
||||
|
|
|
@ -30,15 +30,16 @@ Route::group(['prefix' => 'account'], function () {
|
|||
|
|
||||
| Endpoint: /account/api
|
||||
|
|
||||
| Temporarily Disabled
|
||||
*/
|
||||
Route::group(['prefix' => 'account/api'], function () {
|
||||
Route::get('/', 'AccountKeyController@index')->name('account.api');
|
||||
Route::get('/new', 'AccountKeyController@create')->name('account.api.new');
|
||||
|
||||
Route::post('/new', 'AccountKeyController@store');
|
||||
|
||||
Route::delete('/revoke/{identifier}', 'AccountKeyController@revoke')->name('account.api.revoke');
|
||||
});
|
||||
//Route::group(['prefix' => 'account/api'], function () {
|
||||
// Route::get('/', 'AccountKeyController@index')->name('account.api');
|
||||
// Route::get('/new', 'AccountKeyController@create')->name('account.api.new');
|
||||
//
|
||||
// Route::post('/new', 'AccountKeyController@store');
|
||||
//
|
||||
// Route::delete('/revoke/{identifier}', 'AccountKeyController@revoke')->name('account.api.revoke');
|
||||
//});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue