私信发送成功
检测到您已登录技术前沿网,是否 一键登录码云
Watch Star Fork

demosec / sinatraRuby

Zoker 提交于   master
commit d62358f92277f4f75d4ba27d335b4b8817c5e693
1 parent 033cf30573

1 文件发生了变化, 影响行数: +20 -19

  • sina.rb +20 -19
-require 'rubygems'
-require 'sinatra'
-get '#' do
- erb :index
-end
-
-__END__
-@@ layout
-<html>
- <head><title>Git@OSC项目演示平台</title></head>
- <body>
- <%= yield %>
- </body>
-</html>
-
-@@ index
-<h1>Sinatra Demo - Git@OSC项目演示平台</h1>
-<p>项目地址:<a href='/git/demosec/sinatra/'>http://git.oschina.net/demosec/sinatra/</a></p>
-<p>搭建教程:<a href='#'>http://git.oschina.net/demosec/sinatra/blob/master/README.rdoc</a></p>
+require 'rubygems'
+require 'sinatra'
+get '#' do
+ erb :index
+end
+
+__END__
+@@ layout
+<html>
+ <head><title>Git@OSC项目演示平台</title></head>
+ <body>
+ <%= yield %>
+ </body>
+</html>
+
+@@ index
+<h1>Sinatra Demo - Git@OSC项目演示平台</h1>
+<p>项目地址:<a href='/git/demosec/sinatra/'>http://git.oschina.net/demosec/sinatra/</a></p>
+<p>搭建教程:<a href='#'>http://git.oschina.net/demosec/sinatra/blob/master/README.rdoc</a></p>
+<iframe src="http://git.oschina.net/paas_demo.html" frameborder="0" scrolling="no" width="500px" height="1500px"></iframe>
\ No newline at end of file

登录 后才可以发表评论

Float_left Icon_close