-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move permission helper method closer to where it's used
The `BatchInvitationPermissionsHelper#formatted_permission_name` method is only used in `UsersHelper#items_for_permission_checkboxes` and so it makes more sense to define it in `UsersHelper` closer to where it's being used. We _could_ also make it private, but I decided it was worth keeping the tests around it and so left it as public.
- Loading branch information
1 parent
d3991d5
commit d353421
Showing
4 changed files
with
18 additions
and
24 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters