Permalink
Browse files

Fixing some slides

  • Loading branch information...
1 parent 1453714 commit aa847de5ab71ea3d40f56acb99f6e82ff33dc503 @jc00ke committed Mar 2, 2010
Showing with 17 additions and 1 deletion.
  1. +13 −0 haml/haml.md
  2. +1 −1 sinatra/sinatra.md
  3. +3 −0 why_sinatra/why_sinatra.md
View
@@ -16,6 +16,19 @@
!SLIDE
:index can either be in (by default) views/ or in-file.
+It can also be wherever you want
+ @@@ ruby
+ set :views, Proc.new{ File.join(root, "over_here") }
+
+!SLIDE center
+# Quick Aside #
+Other configurations
+* :environment
+* :sessions
+* :root
+* :static
+* etc (http://www.sinatrarb.com/configuration.html)
+
!SLIDE smaller
@@@ ruby
View
@@ -114,7 +114,7 @@
get %r{/I/am/([\d]+)/years/old} do |age|
puts age
- # write to the logger. sometimes helpful.
+ # write to stdout. sometimes helpful.
end
@@ -18,3 +18,6 @@ What I mean by that is, if your app is more complicated than a Rack app, but you
* Things you only need one file for
* Getting closer to Rack/HTTP
* Teaching you something new
+
+!SLIDE
+# Now a bigger example app #

0 comments on commit aa847de

Please sign in to comment.