Skip to content

Instantly share code, notes, and snippets.

@daz4126
Created March 5, 2012 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daz4126/1977159 to your computer and use it in GitHub Desktop.
Save daz4126/1977159 to your computer and use it in GitHub Desktop.
DAZ4126 route and view
########### DAZ4126 website ###########
require 'bundler'
Bundler.require
get '/' do
@title = "DAZ, Made in Manchester"
slim :index
end
__END__
########### Views ###########
@@index
h1 title='Traditional Mancunian Greeting' Alright Mate!
p Welcome to my website! My name is DAZ and I work, rest and play in Manchester,UK.
p I build websites, play water polo and eat burgers.
p Thanks for visiting. Have a nice day!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment