Module | Sinatra::RespondTo |
In: |
lib/sinatra/respond_to.rb
lib/sinatra/respond_to/version.rb |
Version | = | '0.7.0' |
render | -> | render_without_format |
Changes in 1.0 Sinatra reuse render for layout so we store the original value to tell us if this is an automatic attempt to do a layout call. If it is, it might fail with Errno::ENOENT and we want to pass that back to sinatra since it isn‘t a MissingTemplate error |