test/dummy/app/controllers/test_controller.rb in redis-actionpack-5.0.1 vs test/dummy/app/controllers/test_controller.rb in redis-actionpack-5.0.2
- old
+ new
@@ -17,15 +17,15 @@
session[:foo] = SessionAutoloadTest::Foo.new
head :ok
end
def get_session_value
- render :text => "foo: #{session[:foo].inspect}"
+ render plain: "foo: #{session[:foo].inspect}"
end
def get_session_id
session_id = request.session_options[:id] || cookies["_session_id"]
- render :text => session_id
+ render plain: session_id
end
def call_reset_session
session[:bar]
reset_session