official_module/config/routes.rb

18 lines
708 B
Ruby
Raw Normal View History

2021-07-15 10:01:56 +00:00
Rails.application.routes.draw do
2021-07-15 09:08:06 +00:00
post "/store/check_module_permissions" => "client_sites#check_module_permissions"
post "/store/register_old_sites_modules" => "client_sites#register_old_sites_modules"
get "/store/check_for_rulingcom" => "client_sites#check_for_rulingcom"
get "/store/desktop/widgets" => "client_sites#get_desktop_widget_list"
get "/desktop/widget_download_url" => "client_sites#widget_download_url"
get "/store/form_token" => 'client_sites#get_csrf_token'
namespace :admin do
resources :sites, only: [] do
get "set_master_key" => 'official_module#set_master_key'
patch "update_master_password" => 'official_module#update_master_password'
end
end
end