0.28 reconfigure whole plugin to more advanced layout
This commit is contained in:
14
app/controllers/custom_post_controller.rb
Normal file
14
app/controllers/custom_post_controller.rb
Normal file
@ -0,0 +1,14 @@
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user