I'm trying to render the following in my controller:
User-agent: *
Disallow: /
Currently it looks like this:
User-agent: *Disallow: /
def robots
output = "User-agent: *\nDisallow: /" #this is wrong I know...
render text: output
end
How can I include the newline character?