mention.rb 329 B

1234567
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/mentions', to: 'mentions#list', via: :get
  4. match api_path + '/mentions', to: 'mentions#create', via: :post
  5. match api_path + '/mentions/:id', to: 'mentions#destroy', via: :delete
  6. end