Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 628 Bytes

README.rdoc

File metadata and controls

34 lines (24 loc) · 628 Bytes

sinatra-erector

sinatra-erector is an extension for sinatra to enable rendering of html files using erector templates.

Installation

# TODO: make it part of Erector

sudo gem install sbfaulkner-sinatra-erector -s http://gems.github.com

Example

require 'rubygems'
require 'sinatra'
require 'sinatra/erector'

get '/' do
  erector :template
end

__END__
Author
  1. Brent Faulkner <brentf@unwwwired.net>

License

Copyright © 2009 unwwwired.net, released under the MIT license