Permalink
Browse files

Upgrade to Sinatra 1.0, Mustache 0.9.0

  • Loading branch information...
1 parent 7bae509 commit 6e0d207823a314190cdaf63c10a8d23effd6fd90 @defunkt committed Mar 26, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 app.rb
View
6 app.rb
@@ -5,8 +5,10 @@ class App < Sinatra::Base
register Mustache::Sinatra
require 'views/layout'
- set :views, 'templates/'
- set :mustaches, 'views/'
+ set :mustache, {
+ :views => 'views/',
+ :templates => 'templates/'
+ }
get '/' do
@title = "Mustache + Sinatra = Wonder"

0 comments on commit 6e0d207

Please sign in to comment.