Skip to content
Snippets Groups Projects
Commit 5f5b6f8d authored by Tibo's avatar Tibo
Browse files

code cleanup

parent 8f663b7a
No related branches found
No related tags found
No related merge requests found
Pipeline #12752 passed
......@@ -18,10 +18,6 @@ class OrganizationUserController extends Controller
$this->middleware('auth');
}
public function index()
{
}
/** Show form **/
public function create(Organization $organization)
{
......@@ -65,18 +61,6 @@ class OrganizationUserController extends Controller
return redirect(route("dashboard"));
}
public function show($id)
{
}
public function edit($id)
{
}
public function update($id)
{
}
/**
* Remove (detach) this user from the organization
* @param Organization $organization
......
......@@ -43,6 +43,7 @@
</div>
</div>
@if ($organization->exists)
<div class="card mt-3">
<div class="card-header">Members</div>
......@@ -63,14 +64,17 @@
@endforeach
</table>
<p>
<a class="btn btn-primary btn-sm"
href="{{ action("OrganizationUserController@create", ["organization" => $organization]) }}">
Invite user to organization
</a>
</p>
</div>
</div>
@endif
</div>
</div>
</div>
......
......@@ -51,5 +51,5 @@ Route::get(
}
)->name("organization.public.dashboard");
Route::resource('app/organizations', 'OrganizationController');
Route::resource("app/organizations.user", "OrganizationUserController");
Route::resource("app/organizations.user", "OrganizationUserController")->only(["create", "store", "destroy"]);
Route::resource('app/servers', 'ServerController');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment