9 lines
222 B
Ruby
Raw Normal View History

# frozen_string_literal: true
MyPluginModule::Engine.routes.draw do
get "/examples" => "examples#index"
# define routes here
end
Discourse::Application.routes.draw { mount ::MyPluginModule::Engine, at: "my-plugin" }