-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add member management page #11744
Add member management page #11744
Conversation
Currently can only remove.
$this->middleware('auth'); | ||
} | ||
|
||
public function destroy(string $teamId, string $userId): Response |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from what I gather the type will always be string (or nullable string if optional)
routes/web.php
Outdated
@@ -296,6 +296,9 @@ | |||
Route::post('user-cover-presets/batch-activate', 'UserCoverPresetsController@batchActivate')->name('user-cover-presets.batch-activate'); | |||
Route::resource('user-cover-presets', 'UserCoverPresetsController', ['only' => ['index', 'store', 'update']]); | |||
|
|||
Route::group(['as' => 'teams.', 'prefix' => 'teams/{team}'], function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
namespace
? ...although there's only 1 controller
|
||
public function index(string $teamId): Response | ||
{ | ||
$team = Team::findOrFail($teamId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to load users.member
for the view
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appearance can be a different problem™️
Currently can only remove.
💯 design.