discourse-mozilla-iam/config/routes.rb

12 строки
362 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
end