Sha256: 562c418e35f0a2016791a46b301bea6778e46bc6ef70a7f5511aa0925e5add03

Contents?: true

Size: 497 Bytes

Versions: 6

Compression:

Stored size: 497 Bytes

Contents

# frozen_string_literal: true

SuperSettings::Engine.routes.draw do
  controller :settings do
    if SuperSettings::Configuration.instance.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

6 entries across 6 versions & 1 rubygems

Version Path
super_settings-1.0.2 config/routes.rb
super_settings-1.0.1 config/routes.rb
super_settings-1.0.0 config/routes.rb
super_settings-0.0.1.rc3 config/routes.rb
super_settings-0.0.1.rc2 config/routes.rb
super_settings-0.0.1.rc1 config/routes.rb