mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 14:22:12 +00:00
9 lines
222 B
Ruby
9 lines
222 B
Ruby
|
# 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" }
|