Renamed files.
This commit is contained in:
parent
e6d3cc4078
commit
10e625584f
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user