Module Sinatra::RespondTo
In: lib/sinatra/respond_to.rb
lib/sinatra/respond_to/version.rb

Methods

registered   render  

Classes and Modules

Module Sinatra::RespondTo::Helpers
Class Sinatra::RespondTo::MissingTemplate
Class Sinatra::RespondTo::UnhandledFormat

Constants

TEXT_MIME_TYPES = [:txt, :html, :js, :json, :xml, :rss, :atom, :css, :asm, :c, :cc, :conf, :csv, :cxx, :diff, :dtd, :f, :f77, :f90, :for, :gemspec, :h, :hh, :htm, :log, :mathml, :mml, :p, :pas, :pl, :pm, :py, :rake, :rb, :rdf, :rtf, :ru, :s, :sgm, :sgml, :sh, :svg, :svgz, :text, :wsdl, :xhtml, :xsl, :xslt, :yaml, :yml, :ics]
Version = '0.5.0'

External Aliases

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

Public Class methods

Public Instance methods

[Validate]