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)