Sha256: 0e1e9a3294a9d7f7980fe9bf57d346ea19e0894a62ca46b86086ec1b45102e3e
Contents?: true
Size: 582 Bytes
Versions: 3
Compression:
Stored size: 582 Bytes
Contents
Rails.application.routes.draw do prefix = ENV['OPENC3_ROUTE_PREFIX'] || "/cfdp" prefix = prefix[1..-1] if prefix[0] == '/' scope prefix do post "/put" => "cfdp#put" post "/cancel" => "cfdp#cancel" post "/suspend" => "cfdp#suspend" post "/resume" => "cfdp#resume" post "/report" => "cfdp#report" post "/directorylisting" => "cfdp#directory_listing" get "/subscribe" => "cfdp#subscribe" get "/indications/:transaction_id" => "cfdp#indications" get "/indications" => "cfdp#indications" get "/transactions" => "cfdp#transactions" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openc3-cosmos-cfdp-1.0.2 | microservices/CFDP/config/routes.rb |
openc3-cosmos-cfdp-1.0.1 | microservices/CFDP/config/routes.rb |
openc3-cosmos-cfdp-1.0.0 | microservices/CFDP/config/routes.rb |