Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Commit

Permalink
Fix missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
TheReverend403 committed Apr 6, 2016
1 parent cd0e7a1 commit d724cac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function postUserDelete(User $user)
}

$user->forceDelete();
flash()->success('messages.admin.deleted_user', ['name' => $user->name]);
flash()->success(trans('messages.admin.deleted_user', ['name' => $user->name]));

return redirect()->back();
}
Expand Down
2 changes: 0 additions & 2 deletions resources/lang/en/messages.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

use App\Helpers;

return [
'file_deleted' => 'Deleted :name.',
'api_key_changed' => 'Your API key was reset. New API key: :api_key',
Expand Down

0 comments on commit d724cac

Please sign in to comment.