fix error

This commit is contained in:
BOYA,CHIU 2021-07-15 17:51:49 +08:00
parent 0557065be5
commit 222e60c739
1 changed files with 1 additions and 2 deletions

View File

@ -2,6 +2,7 @@ module OfficialModule
class Engine < ::Rails::Engine class Engine < ::Rails::Engine
initializer "official_module" do initializer "official_module" do
OrbitApp.registration "official_module", :type => "ModuleApp" do OrbitApp.registration "official_module", :type => "ModuleApp" do
module_label "registered_sites.registered_sites"
base_url File.expand_path File.dirname(__FILE__) base_url File.expand_path File.dirname(__FILE__)
set_keyword_contstraints ['/store/check_module_permissions', set_keyword_contstraints ['/store/check_module_permissions',
'/store/register_old_sites_modules', '/store/register_old_sites_modules',
@ -9,8 +10,6 @@ module OfficialModule
'/store/desktop/widgets', '/store/desktop/widgets',
'/desktop/widget_download_url', '/desktop/widget_download_url',
'/store/form_token'] '/store/form_token']
categorizable
authorizable
end end
end end