Skip to content

Conversation

@TomBurch
Copy link
Member

No description provided.

url: '{{ url('/hub/missions/operations/remove-mission') }}',
type: 'DELETE',
url: "{{ url('/hub/operations/1/missions') }}",
data: {'id': caller.data('item') || -1},
Copy link
Member Author

@TomBurch TomBurch Jun 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should store Operation ID rather than OperationMission ID, allowing url to change to '/hub/operations/{operation}/missions/{mission}'

@@ -1,115 +0,0 @@
<?php

namespace App\Http\Controllers\API;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API/OperationController and API/OperationMissionController were both unused

Route::prefix('hub/settings')->group(function() {
Route::get('/', 'Users\SettingsController@index');
Route::post('/', 'Users\SettingsController@store');
Route::get('/avatar-sync', 'Users\SettingsController@avatarSync');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider reworking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant