debian-mirror-gitlab/derailed-benchmarks/test/rails_app/app/controllers/pages_controller.rb
2019-10-03 14:02:42 +05:30

14 lines
238 B
Ruby

# 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