Skip to content

Commit

Permalink
Quick fix to layout => true in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bmizerany committed Jan 10, 2009
1 parent 578bbab commit 4742898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -190,7 +190,7 @@ method:
end end


Some times you'll want to render a specific template with or without a Some times you'll want to render a specific template with or without a
layout based on whether the request is Ajax or not: layout (i.e. if a request is Ajax or not).


get '/' do get '/' do
haml :index, :layout => !request.xhr? haml :index, :layout => !request.xhr?
Expand Down

0 comments on commit 4742898

Please sign in to comment.