2019-11-15 00:44:28 +00:00
|
|
|
Rails.application.routes.draw do
|
|
|
|
|
|
|
|
locales = Site.first.in_use_locales rescue I18n.available_locales
|
|
|
|
|
|
|
|
scope "(:locale)", locale: Regexp.new(locales.join("|")) do
|
|
|
|
namespace :admin do
|
|
|
|
get 'cancerpredicts' , to: 'cancerpredicts#index'
|
2020-01-13 11:35:30 +00:00
|
|
|
get 'editCancerpredicts' , to: 'cancerpredicts#edit'
|
|
|
|
post 'editCancerpredicts' , to: 'cancerpredicts#edit'
|
|
|
|
patch 'editCancerpredicts' , to: 'cancerpredicts#edit'
|
|
|
|
get 'cancerpredicts/showSubmit' , to: 'cancerpredicts#showSubmit'
|
2020-02-03 08:49:00 +00:00
|
|
|
get 'cancerpredicts/export_cancer_tool_record' , to: 'cancerpredicts#export_cancer_tool_record'
|
2019-11-15 00:44:28 +00:00
|
|
|
resources :cancerpredicts
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|