debian-mirror-gitlab/derailed-benchmarks/test/rails_app/app/controllers/pages_controller.rb

15 lines
238 B
Ruby
Raw Normal View History

2019-10-03 14:02:42 +05:30
# frozen_string_literal: true
class PagesController < ApplicationController
http_basic_authenticate_with name: "admin", password: "secret", only: :secret
def index
end
def secret
render action: 'index'
end
private
end