app/responders/nyauth/app_responder.rb in nyauth-0.2.7 vs app/responders/nyauth/app_responder.rb in nyauth-0.2.8
- old
+ new
@@ -6,16 +6,10 @@
# @see https://github.com/plataformatec/responders/issues/126
def default_render
if @default_response
@default_response.call(options)
else
- if Rails.version >= "5"
- controller.default_render(options) do
- raise ActionView::MissingTemplate.new([], "", [], true, [])
- end
- else
- controller.default_render(options)
- end
+ controller.render(options)
end
end
end
end