Sha256: 2c664e5cf140e1b434975d1b9af5bdab105701b38152c1f4f57d3d4c72b0b7a9
Contents?: true
Size: 814 Bytes
Versions: 2
Compression:
Stored size: 814 Bytes
Contents
Detour::Engine.routes.draw do get "/flags/:flaggable_type" => "flags#index", as: "flags" post "/flags/:flaggable_type" => "flags#update" resources :features, only: [:create, :destroy] get "/flag-ins/:feature_name/:flaggable_type" => "flaggable_flags#index", as: "flag_in_flags" post "/flag-ins/:feature_name/:flaggable_type" => "flaggable_flags#create" delete "/flag-ins/:feature_name/:flaggable_type/:id" => "flaggable_flags#destroy", as: "flag_in_flag" get "/opt-outs/:feature_name/:flaggable_type" => "flaggable_flags#index", as: "opt_out_flags" post "/opt-outs/:feature_name/:flaggable_type" => "flaggable_flags#create" delete "/opt-outs/:feature_name/:flaggable_type/:id" => "flaggable_flags#destroy", as: "opt_out_flag" root to: "application#index" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
detour-0.0.3 | config/routes.rb |
detour-0.0.2 | config/routes.rb |