mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
23999054c6
Options can be configured in two different ways: * Application-wide, using set_option :haml e.g.: set_option :haml, :format => :haml4, :escape_html => true * By passing options directly to the `haml` helper e.g.: haml '%strong Hello World', :options => {:format => :html4} Note that if you use both way, options will be merged. |
||
---|---|---|
.. | ||
public | ||
views | ||
app_test.rb | ||
application_test.rb | ||
builder_test.rb | ||
custom_error_test.rb | ||
diddy_test.rb | ||
erb_test.rb | ||
event_context_test.rb | ||
events_test.rb | ||
haml_test.rb | ||
helper.rb | ||
mapped_error_test.rb | ||
rest_test.rb | ||
sass_test.rb | ||
sessions_test.rb | ||
streaming_test.rb | ||
sym_params_test.rb | ||
template_test.rb | ||
use_in_file_templates_test.rb |