Sha256: 6efe0c111cdf4bd0674ab02756093b458ed883feb236579da54fa9f896013403

Contents?: true

Size: 207 Bytes

Versions: 4

Compression:

Stored size: 207 Bytes

Contents

class PagesController < ApplicationController
  http_basic_authenticate_with name: "admin", password: "secret", only: :secret

  def index
  end

  def secret
    render action: 'index'
  end

  private
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
derailed_benchmarks-1.3.6 test/rails_app/app/controllers/pages_controller.rb
derailed_benchmarks-1.3.5 test/rails_app/app/controllers/pages_controller.rb
derailed_benchmarks-1.3.4 test/rails_app/app/controllers/pages_controller.rb
derailed_benchmarks-1.3.3 test/rails_app/app/controllers/pages_controller.rb