class Lato::AuthenticationController
def find_invitation
def find_invitation @invitation = Lato::Invitation.find_by(id: params[:id], accepted_code: params[:accepted_code]) respond_to_with_not_found unless @invitation end
def find_invitation @invitation = Lato::Invitation.find_by(id: params[:id], accepted_code: params[:accepted_code]) respond_to_with_not_found unless @invitation end