404 for event_id param on activity

This commit is contained in:
Kyle Drake 2025-07-31 13:07:41 -05:00
parent 5d56e12561
commit 28b85c9f08

View file

@ -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)