Skip to content
This repository
Browse code

minor adjustments and fixes for the readme examples

  • Loading branch information...
commit 6306a9f272476c8d297f8042fe3b1e3a00845d8e 1 parent 9cbaa8c
Konstantin Haase authored September 07, 2010

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  README.rdoc
7  README.rdoc
Source Rendered
@@ -5,6 +5,7 @@ effort:
5 5
 
6 6
   # myapp.rb
7 7
   require 'sinatra'
  8
+  
8 9
   get '/' do
9 10
     'Hello world!'
10 11
   end
@@ -184,10 +185,10 @@ can be set globally through Sinatra's configurations,
184 185
 see {Options and Configurations}[http://www.sinatrarb.com/configuration.html],
185 186
 and overridden on an individual basis.
186 187
 
187  
-  set :haml, {:format => :html5 } # default Haml format is :xhtml
  188
+  set :haml, :format => :html5 # default Haml format is :xhtml
188 189
 
189 190
   get '/' do
190  
-    haml :index, :haml_options => {:format => :html4 } # overridden
  191
+    haml :index, :format => :html4 # overridden
191 192
   end
192 193
 
193 194
 
@@ -248,7 +249,7 @@ can be set globally through Sinatra's configurations,
248 249
 see {Options and Configurations}[http://www.sinatrarb.com/configuration.html],
249 250
 and overridden on an individual basis.
250 251
 
251  
-  set :sass, {:style => :compact } # default Sass style is :nested
  252
+  set :sass, :style => :compact # default Sass style is :nested
252 253
 
253 254
   get '/stylesheet.css' do
254 255
     content_type 'text/css', :charset => 'utf-8'

0 notes on commit 6306a9f

Please sign in to comment.
Something went wrong with that request. Please try again.