discourse/vendor/gems/discourse_task/config/routes.rb

6 lines
133 B
Ruby

Rails.application.routes.draw do
put 't/:slug/:topic_id/complete' => 'topics#complete', :constraints => {:topic_id => /\d+/}
end