18 lines
338 B
Ruby
18 lines
338 B
Ruby
# Plugin's routes
|
|
# See: http://guides.rubyonrails.org/routing.html
|
|
|
|
Rails.application.routes.draw do
|
|
resources :projects do
|
|
resources :glossary_terms do
|
|
member do
|
|
patch 'preview'
|
|
end
|
|
collection do
|
|
post 'preview'
|
|
post 'import'
|
|
end
|
|
end
|
|
resources :glossary_categories
|
|
end
|
|
end
|