discourse-mozilla-iam/config/routes.rb

16 строки
581 B
Ruby
Исходник Обычный вид История

2017-09-06 12:34:20 +03:00
Discourse::Application.routes.append do
get '/admin/plugins/mozilla-iam' => 'admin/plugins#index'
get '/admin/plugins/mozilla-iam/*all' => 'admin/plugins#index'
mount MozillaIAM::Engine => '/mozilla_iam'
end
MozillaIAM::Engine.routes.draw do
namespace :admin, constraints: AdminConstraint.new do
resources :group_mappings, path: :mappings
end
2019-08-07 14:11:30 +03:00
post :notification, to: "notification#notification"
post :dinopark_link, to: "dinopark_link#link"
post :dinopark_unlink, to: "dinopark_link#unlink"
post "/dinopark_link/dont_show", to: "dinopark_link#dont_show"
2017-09-06 12:34:20 +03:00
end