discourse-legacy_links/app/controllers/custom_post_controller.rb

15 lines
387 B
Ruby
Raw Permalink Normal View History

# plugins/discourse_legacy_links/app/controllers/custom_post_controller.rb
module DiscourseLegacyLinks
class CustomPostController < ::ApplicationController
layout false
def index2
Rails.logger.warn "[WARN WARN WARN WARN WARN WARN WARN WARN WARN WARN AMDG JMJ PAX WARN WARN WARN WARN]"
render plain: 'Test route'
end
# Other actions and methods
end
end