Sha256: 050fbd5fab8e99d0b0141dae880bc3c26ae94d43c4d24b9afd8e9c5c5306b491
Contents?: true
Size: 349 Bytes
Versions: 16
Compression:
Stored size: 349 Bytes
Contents
module ApplicationHelper # When on .mrhenry.eu domain, we don't want a search crawler to index # # @return {String} def meta_name_robots if request.host.match /.*\.a\.mrhenry\.eu.*/ tag("meta", name: "robots", content: "noindex, nofollow") else tag("meta", name: "robots", content: "index, follow") end end end
Version data entries
16 entries across 16 versions & 1 rubygems