注释掉API文档

dev_repository_hjq
z9hang 11 years ago
parent 836be8c75e
commit 944dc33212

@ -39,7 +39,7 @@ module Mobile
mount Apis::Homeworks mount Apis::Homeworks
#add_swagger_documentation ({api_version: 'v1', base_path: 'http://u06.shellinfo.cn/trustie/api'}) #add_swagger_documentation ({api_version: 'v1', base_path: 'http://u06.shellinfo.cn/trustie/api'})
add_swagger_documentation ({api_version: 'v1', base_path: '/api'}) if Rails.env.development? #add_swagger_documentation ({api_version: 'v1', base_path: '/api'}) if Rails.env.development?
end end
end end

Loading…
Cancel
Save