修改API上线问题

This commit is contained in:
z9hang 2015-01-28 10:45:20 +08:00
parent f7dbb24d35
commit a6488da7fa
1 changed files with 1 additions and 1 deletions

View File

@ -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