Sha256: 3c362072ab6eb169f05180dd13f9ba4e4ff63482393eb5b4177e4f7f120ff37a

Contents?: true

Size: 487 Bytes

Versions: 5

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

SuperSettings::Engine.routes.draw do
  controller :settings do
    if SuperSettings.configuration.controller.web_ui_enabled?
      get "/", action: :root, as: :root
    end
    get "/settings", action: :index
    post "/settings", action: :update
    get "/setting", action: :show
    get "/setting/history", action: :history
    get "/settings/last_updated_at", action: :last_updated_at
    get "/settings/updated_since", action: :updated_since
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
super_settings-2.1.0 config/routes.rb
super_settings-2.0.3 config/routes.rb
super_settings-2.0.2 config/routes.rb
super_settings-2.0.1 config/routes.rb
super_settings-2.0.0 config/routes.rb