Sha256: aea2b1c575243e2af9f6b4dc5305ec3d1132a802c58442d78affe58fb6ae4fb5

Contents?: true

Size: 313 Bytes

Versions: 7

Compression:

Stored size: 313 Bytes

Contents

#encoding: utf-8

# 发布的接口仅在非生产模式可访问
unless Rails.env.production?
  Rails.application.routes.draw do
    root :to=>"ns/info#interfaces"
    get 'interfaces', :to=>"ns/info#interfaces"
    get 'constants', :to=>"ns/info#constants"
    get 'mappings', :to=>"ns/info#mappings"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ns_service_pack-0.1.8 config/routes.rb
ns_service_pack-0.1.7 config/routes.rb
ns_service_pack-0.1.6 config/routes.rb
ns_service_pack-0.1.5 config/routes.rb
ns_service_pack-0.1.4 config/routes.rb
ns_service_pack-0.1.3 config/routes.rb
ns_service_pack-0.1.2 config/routes.rb