heartcombo--devise/app/controllers
Jonathon Padfield ce08d7abb8 Replaced render :text 404 with :plain in omniauth
Rails 5.1 has deprecated render :text, and HEAD requests on the
omniauth callbacks passthru method is causing errors because the render
:text is non-existant, and there's no template to fall back to.

Replacing :text with :plain, adds a content-type type of text/plain and
also returns the previous message.

render :plain was supported back in rails 4.1.0
http://api.rubyonrails.org/v4.1.0/classes/ActionView/Helpers/RenderingHelper.html#method-i-render
2017-05-03 13:31:52 +10:00
..
devise Replaced render :text 404 with :plain in omniauth 2017-05-03 13:31:52 +10:00
devise_controller.rb Added DeviseController#set_flash_message! 2016-02-11 02:49:53 +02:00