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 'winter'
require 'app2'
use Rack::ShowExceptions use Rack::ShowExceptions
use Rack::Static, :urls => ["/stylesheets", "/javascripts", "/images"], :root => "public"
run Sinatra::Application run Sinatra::Application

View File

@ -1,3 +1,5 @@
<h2><%= @title %></h2> <h2><%= @title %></h2>
<p><%= image_tag "/images/tatry2.jpg", :alt => @title, :title => @title %></p> <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> <html>
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<%= stylesheet_link_tag "/stylesheets/app2.css" %> <%= stylesheet_link_tag "/stylesheets/app.css" %>
<%= javascript_script_tag "/javascripts/app2.js" %> <%= javascript_script_tag "/javascripts/app.js" %>
<title><%= @title %></title> <title><%= @title %></title>
</head> </head>