Created
June 21, 2010 17:08
-
-
Save vinibaggio/447149 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: Inline templates defined in the source file that requires sinatra are automatically | |
# loaded. | |
# Call `enable :inline_templates` explicitly if you have inline templates in other source | |
# files. | |
require 'rubygems' | |
require 'sinatra' | |
get '/' do | |
haml :index | |
end | |
__END__ | |
@@ layout | |
%html | |
= yield | |
@@ index | |
%div.title Hello world!!!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment