Nexmo / nexmo-oas-renderer

Render your API references, Nexmo-style!
https://developer.nexmo.com/api
MIT License
46 stars 4 forks source link

Pass `request.env` to Rails' renderer. #94

Closed fabianrbz closed 3 years ago

fabianrbz commented 3 years ago

This allows Rails' helpers and views to access the request's env properly instead of the default ones. See https://github.com/rails/rails/blob/master/actionpack/lib/action_controller/renderer.rb#L53