Sha256: e7ac5d4c33d95984c1b49c9990087a5b4913ab5181531ddb60c28cd1416ed6e9

Contents?: true

Size: 324 Bytes

Versions: 35

Compression:

Stored size: 324 Bytes

Contents

# typed: false
# frozen_string_literal: true

module Hephaestus
  class SettingsController < ApplicationController
    before_action :ensure_json_request

    def new
      set_step
      render("settings/new")
    end

    def edit
    end

    def set_step
      @step = params.fetch(:step, 1).to_i || 1
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
hephaestus-0.8.7.3 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.7.2 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.7.1 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.7 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.6 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.5 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.4.1 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.4 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.3.4 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.3.3 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.3.2 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.3.1 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.3 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.2 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.1 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.8.0 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.7.7.2 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.7.7 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.7.6.2 app/controllers/hephaestus/settings_controller.rb
hephaestus-0.7.6.1 app/controllers/hephaestus/settings_controller.rb