mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-12-16 20:23:32 +00:00
12 lines
211 B
Ruby
12 lines
211 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ::MyPluginModule
|
|
class ExamplesController < ::ApplicationController
|
|
requires_plugin PLUGIN_NAME
|
|
|
|
def index
|
|
render json: { hello: "world" }
|
|
end
|
|
end
|
|
end
|