examples/app2/views/layout.erb in wbzyl-sinatra-static-assets-0.0.6 vs examples/app2/views/layout.erb in wbzyl-sinatra-static-assets-0.0.7
- old
+ new
@@ -1,12 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
-
<%= stylesheet_link_tag "/stylesheets/app2.css" %>
-
- <script src="/javascripts/app2.js" type="text/javascript"></script>
+ <%= javascript_script_tag "/javascripts/app2.js" %>
<title><%= @title %></title>
</head>
<body>