Sha256: 7b0ca28fee9e76e8d4f2ce221e9766b9552ef58997e076ca30cdcf51f1bc89a5
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
Rails.application.routes.draw do resources :arf_reports, :only => [:index, :show] do end namespace :api do scope "(:apiv)", :module => :v2, :defaults => {:apiv => 'v2'}, :apiv => /v1|v2/, :constraints => ApiConstraints.new(:version => 2) do namespace :openscap do post 'arf_reports/:cname/:policy/:date', \ :constraints => { :cname => /[^\/]+/ }, :to => 'arf_reports#create' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_openscap-0.1.0 | config/routes.rb |