app/controllers/course/user_invitations_controller.rb
Class UserInvitationsController
has 32 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Course::UserInvitationsController < Course::ComponentController
before_action :authorize_invitation!
load_resource :invitation, through: :course, class: 'Course::UserInvitation', parent: false,
only: :destroy
- Create a ticketCreate a ticket
Method parse_invitation_result
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def parse_invitation_result(new_invitations, existing_invitations, new_course_users,
existing_course_users, duplicate_users)
- Create a ticketCreate a ticket