v0.7 Huge re-write... hoping it may work... added debug output
This commit is contained in:
		@@ -25,6 +25,10 @@ after_initialize do
 | 
				
			|||||||
      # Match URLs that include a post_id at the end or query parameter
 | 
					      # Match URLs that include a post_id at the end or query parameter
 | 
				
			||||||
      # Main action triggered when the route is matched.
 | 
					      # Main action triggered when the route is matched.
 | 
				
			||||||
      def index
 | 
					      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
 | 
					        post_id = extract_post_id_from_request
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if post_id
 | 
					        if post_id
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user