Refactor member view by using presenter
- Create MemberPresenter alongside with GroupMemberPresenter and ProjectMemberPresenter
- Make Member model Presentable
- Move action_member_permission from MembersHelper into the MemberPresenter
- Added rspec using double, separate specs for GroupMemberPresenter and ProjectMemberPresenter
Fixes #28004.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Showing
app/presenters/group_member_presenter.rb
0 → 100644
app/presenters/member_presenter.rb
0 → 100644
app/presenters/project_member_presenter.rb
0 → 100644
Please
register
or
sign in
to comment