2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2021-03-16 08:59:32 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
api_path = Rails.configuration.api_path
|
|
|
|
|
|
|
|
match api_path + '/mentions', to: 'mentions#list', via: :get
|
|
|
|
match api_path + '/mentions', to: 'mentions#create', via: :post
|
|
|
|
match api_path + '/mentions/:id', to: 'mentions#destroy', via: :delete
|
|
|
|
end
|