master
class JoinActivity < UserActivity def href event_shift_path event, shift end def representation "User '#{user.username}' has joined the '#{shift.role}' shift for the '#{event.event_name}' event." end end