v0.10 So close, but it doesn't work still...
This commit is contained in:
		@@ -4,7 +4,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# name: discourse-legacy_links
 | 
					# name: discourse-legacy_links
 | 
				
			||||||
# about: A plugin to handle legacy Gossamer Forums URLs
 | 
					# about: A plugin to handle legacy Gossamer Forums URLs
 | 
				
			||||||
# version: 0.10
 | 
					# version: 0.11
 | 
				
			||||||
# authors: saint@federated.computer
 | 
					# authors: saint@federated.computer
 | 
				
			||||||
# url: https://gitea.federated.computer/saint/discourse-legacy_links.git
 | 
					# url: https://gitea.federated.computer/saint/discourse-legacy_links.git
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -21,7 +21,7 @@ after_initialize do
 | 
				
			|||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Define the custom controller
 | 
					    # Define the custom controller
 | 
				
			||||||
    class CustomPostController < ::ApplicationController
 | 
					    class DiscourseLegacyLinks::CustomPostController < ::ApplicationController
 | 
				
			||||||
      # 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 test
 | 
					      def test
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user