Created
May 23, 2012 06:29
-
-
Save pobo380/2773541 to your computer and use it in GitHub Desktop.
#1 TOPページ
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
# coding: utf-8 | |
require 'rubygems' | |
require 'sinatra' | |
## TOP | |
get '/' do | |
erb :index | |
end | |
__END__ | |
@@ layout | |
<html> | |
<head> | |
<title>My Blog</title> | |
</head> | |
<body> | |
<%= yield %> | |
</body> | |
</html> | |
@@ index | |
<h1>pobo380 on a leash.</h1> | |
<p>私のブログです</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment