Sha256: 94c68285d7e4aa60ab21788c19eb6eeba8d8a699803e960c7421e477b625c18e

Contents?: true

Size: 399 Bytes

Versions: 14

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

Sail::Engine.routes.draw do
  root "settings#index"

  resources :settings, only: %i[index update show], param: :name do
    member do
      put "reset"
    end
  end

  get "settings/switcher/:positive/:negative/:throttled_by" => "settings#switcher"

  resources :profiles, only: %i[create destroy], param: :name do
    member do
      put "switch"
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sail-3.6.1 config/routes.rb
sail-3.6.0 config/routes.rb
sail-3.5.1 config/routes.rb
sail-3.5.0 config/routes.rb
sail-3.4.0 config/routes.rb
sail-3.3.0 config/routes.rb
sail-3.2.4 config/routes.rb
sail-3.2.3 config/routes.rb
sail-3.2.2 config/routes.rb
sail-3.2.1 config/routes.rb
sail-3.2.0 config/routes.rb
sail-3.1.0 config/routes.rb
sail-3.0.1 config/routes.rb
sail-3.0.0 config/routes.rb