sinatra/compat
Ryan Tomayko 49adaa5362 Sane template options [#191]
* The options hash now takes the :views, :layout, and :locals
  options but also any template-specific options. The generic
  options are removed before calling the template specific render
  method.

* The haml ":options" and ":haml" options are deprecated. These
  should be merged in directly with the options hash.

* The sass ":sass" option is deprecated. Merge directly with the
  options hash instead.

* All template engines have an app-level option named the same as
  their engine (erb, haml, sass, etc.). This must be a hash and is
  merged with the options passed to the render method.

* The :views_directory option is deprecated; renamed :views.
2009-03-31 01:58:47 -07:00
..
public I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
views I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
app_test.rb Remove disabled compat specs 2009-02-23 08:47:22 -08:00
application_test.rb Remove disabled compat specs 2009-02-23 08:47:22 -08:00
builder_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
compat_test.rb Add deprecated Sinatra::EventContext to unbreak plugins 2009-01-24 21:29:44 -08:00
custom_error_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
erb_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
events_test.rb Test framework refactoring 2009-01-14 07:52:04 -08:00
filter_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
haml_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
helper.rb Test framework refactoring 2009-01-14 07:52:04 -08:00
mapped_error_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
pipeline_test.rb Remove disabled compat specs 2009-02-23 08:47:22 -08:00
sass_test.rb Sane template options [#191] 2009-03-31 01:58:47 -07:00
sessions_test.rb Never use Session middleware in test environment [#119] 2009-02-26 22:48:46 -08:00
streaming_test.rb Remove disabled compat specs 2009-02-23 08:47:22 -08:00
sym_params_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
template_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
use_in_file_templates_test.rb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00