debian-mirror-gitlab/config/routes/jira_connect.rb

17 lines
392 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
namespace :jira_connect do
# This is so we can have a named route helper for the base URL
root to: proc { [404, {}, ['']] }, as: 'base'
get 'app_descriptor' => 'app_descriptor#show'
2021-01-03 14:25:43 +05:30
get :users, to: 'users#show'
2020-11-24 15:15:51 +05:30
namespace :events do
post 'installed'
post 'uninstalled'
end
resources :subscriptions, only: [:index, :create, :destroy]
end