We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 855f8cb commit 6c83d92Copy full SHA for 6c83d92
1 file changed
app/controllers/invitations_controller.rb
@@ -88,7 +88,7 @@ def cancel_meeting
88
89
def set_invitation
90
@invitation = Invitation.find_by(token: params[:token])
91
- head :not_found unless @invitation
+ raise ActionController::RoutingError, 'Invitation not found' unless @invitation
92
end
93
94
def load_invitation
0 commit comments