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 'winter'
|
||||||
|
|
||||||
require 'app2'
|
|
||||||
|
|
||||||
use Rack::ShowExceptions
|
use Rack::ShowExceptions
|
||||||
use Rack::Static, :urls => ["/stylesheets", "/javascripts", "/images"], :root => "public"
|
|
||||||
run Sinatra::Application
|
run Sinatra::Application
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user