adamcooke / staytus

💡 An open source solution for publishing the status of your services
http://staytus.co
MIT License
2.17k stars 284 forks source link

Fix robots.txt in Rails 5.1.x #273

Open billdeitrick opened 5 years ago

billdeitrick commented 5 years ago

I was getting a 500 series error whenever attempting to load the robots.txt for Staytus. Looks like Rails 5.1 deprecated the text option for ActionView's render method. Switched this to plain and things are working as expected.