diff --git a/plugin.rb b/plugin.rb index 7cc7c12..1c5082d 100644 --- a/plugin.rb +++ b/plugin.rb @@ -25,6 +25,10 @@ after_initialize do # Match URLs that include a post_id at the end or query parameter # Main action triggered when the route is matched. def index + Rails.logger.warn "[DEBUG] Reached the index action" + + # Log all incoming parameters to see what's being passed + Rails.logger.warn "[DEBUG] Params: #{params.inspect}" post_id = extract_post_id_from_request if post_id