Renamed files.

This commit is contained in:
Wlodek Bzyl 2009-06-02 00:32:26 +02:00
parent e6d3cc4078
commit 10e625584f
6 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,4 @@
# run with: thin --rackup config.ru -p 4567 start
require 'app2'
require 'winter'
use Rack::ShowExceptions
use Rack::Static, :urls => ["/stylesheets", "/javascripts", "/images"], :root => "public"
run Sinatra::Application

View File

@ -1,3 +1,5 @@
<h2><%= @title %></h2>
<p><%= image_tag "/images/tatry2.jpg", :alt => @title, :title => @title %></p>
<p><a href="/summer">Tatra Mountain in Summer</a></p>

View File

@ -2,8 +2,8 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<%= stylesheet_link_tag "/stylesheets/app2.css" %>
<%= javascript_script_tag "/javascripts/app2.js" %>
<%= stylesheet_link_tag "/stylesheets/app.css" %>
<%= javascript_script_tag "/javascripts/app.js" %>
<title><%= @title %></title>
</head>