From eea1dd4495ee87a3e40add6bea5bbbcdf460841c Mon Sep 17 00:00:00 2001 From: Lynn Hurley Date: Fri, 13 Oct 2017 16:47:56 -0500 Subject: [PATCH] [bugfix] rails 5 no longer supports render :nothing use head: ok instead https://stackoverflow.com/questions/34688726/the-nothing-option-is-deprecated-and-will-be-removed-in-rails-5-1 --- test/dummy/app/controllers/auth_origin_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dummy/app/controllers/auth_origin_controller.rb b/test/dummy/app/controllers/auth_origin_controller.rb index 6df99d122..be14dc00f 100644 --- a/test/dummy/app/controllers/auth_origin_controller.rb +++ b/test/dummy/app/controllers/auth_origin_controller.rb @@ -1,5 +1,5 @@ class AuthOriginController < ApplicationController def redirected - render :nothing => true + head :ok end -end \ No newline at end of file +end