mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
49adaa5362
* 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. |
||
---|---|---|
.. | ||
public | ||
views | ||
app_test.rb | ||
application_test.rb | ||
builder_test.rb | ||
compat_test.rb | ||
custom_error_test.rb | ||
erb_test.rb | ||
events_test.rb | ||
filter_test.rb | ||
haml_test.rb | ||
helper.rb | ||
mapped_error_test.rb | ||
pipeline_test.rb | ||
sass_test.rb | ||
sessions_test.rb | ||
streaming_test.rb | ||
sym_params_test.rb | ||
template_test.rb | ||
use_in_file_templates_test.rb |