Skip to content

Commit

Permalink
Installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Geurts committed Jan 22, 2024
1 parent 2a9f2b2 commit ee298bb
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Jetstream/CurrentTeamController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function update(Request $request)
{
$team = Jetstream::newTeamModel()->findOrFail($request->team_id);

if (!$request->user()->switchTeam($team)) {
if (! $request->user()->switchTeam($team)) {
abort(403);
}

Expand Down
2 changes: 1 addition & 1 deletion lang/en/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'change_password_error' => 'Uh-oh, change password failed',
'remember_me' => 'Remember me',
'role' => 'Role',
'permissions' => "Permisssions",
'permissions' => 'Permisssions',
'guest' => 'Guest',
'developer' => 'Developer',
];
2 changes: 1 addition & 1 deletion lang/nl/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'change_password_error' => 'Uh-oh, change password failed',
'remember_me' => 'Onthou mij',
'role' => 'Rol',
'permissions' => "Rechten",
'permissions' => 'Rechten',
'guest' => 'Bezoeker',
'developer' => 'Beheerder',

Expand Down
1 change: 0 additions & 1 deletion public/build/assets/app-SRZ2xh66.css

This file was deleted.

1 change: 1 addition & 0 deletions public/build/assets/app-a6RyDdCL.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resources/css/app.css": {
"file": "assets/app-SRZ2xh66.css",
"file": "assets/app-a6RyDdCL.css",
"isEntry": true,
"src": "resources/css/app.css"
},
Expand Down
2 changes: 1 addition & 1 deletion routes/jetstream.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// ----------------------------------------------------------------------------------------------------
// custom copy of \vendor\laravel\jetstream\routes\livewire.php
// using custom App\Http\Controllers\Jetstream\CurrentTeamController
// using custom App\Http\Controllers\Jetstream\CurrentTeamController
// so we can always redirect to search page after switching team
// ----------------------------------------------------------------------------------------------------
Route::group(['middleware' => config('jetstream.middleware', ['web'])], function () {
Expand Down

0 comments on commit ee298bb

Please sign in to comment.