From 28b85c9f089d1a2b4f141b91aa0d2b9cfdec6a0e Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 31 Jul 2025 13:07:41 -0500 Subject: [PATCH] 404 for event_id param on activity --- app/activity.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/activity.rb b/app/activity.rb index 968f2203..42cfc619 100644 --- a/app/activity.rb +++ b/app/activity.rb @@ -1,6 +1,8 @@ get '/activity' do @page = params[:page] || 1 + halt 404 if params[:event_id] + if params[:tag] query1 = Event .join(:sites, id: :site_id)