discourse-solved/config/routes.rb

9 lines
238 B
Ruby

# frozen_string_literal: true
DiscourseSolved::Engine.routes.draw do
post "/accept" => "answer#accept"
post "/unaccept" => "answer#unaccept"
end
Discourse::Application.routes.draw { mount ::DiscourseSolved::Engine, at: "solution" }