public
Created

DAZ4126 route and view

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
########### 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!

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.