2019-05-12 22:37:49 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-07-13 08:32:11 -04:00
|
|
|
Discourse::Application.routes.append do
|
|
|
|
mount ::DiscourseChat::AdminEngine, at: '/admin/plugins/chat', constraints: AdminConstraint.new
|
2017-07-24 11:13:53 -04:00
|
|
|
mount ::DiscourseChat::PublicEngine, at: '/chat-transcript/', as: 'chat-transcript'
|
2017-07-13 08:32:11 -04:00
|
|
|
mount ::DiscourseChat::Provider::HookEngine, at: '/chat-integration/'
|
2017-10-10 01:30:44 -04:00
|
|
|
|
|
|
|
# For backwards compatibility with Slack plugin
|
|
|
|
post "/slack/command" => "discourse_chat/provider/slack_provider/slack_command#command"
|
2017-08-01 15:53:39 -04:00
|
|
|
end
|