Sha256: d8704075fbfb6c33de9128659efd97911f6c6ceb00b2930fb6b8f4548ab68a43
Contents?: true
Size: 575 Bytes
Versions: 7
Compression:
Stored size: 575 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] resources :groups, only: [:index, :show, :create, :update, :destroy] scope "/:flag_type/:feature_name" do get ":flaggable_type" => "flaggable_flags#index", as: "flaggable_flags" put ":flaggable_type" => "flaggable_flags#update" delete ":flaggable_type/:id" => "flaggable_flags#destroy", as: "flaggable_flag" end root to: "application#index" end
Version data entries
7 entries across 7 versions & 1 rubygems