10 lines
195 B
Ruby
10 lines
195 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RobotsController < ApplicationController
|
|
respond_to :text
|
|
|
|
def index
|
|
expires_in 1.hour, public: true unless response.cache_control.present?
|
|
end
|
|
end
|