Serve embedded maps through the assets pipeline

This commit is contained in:
Tom Hughes 2012-11-23 09:04:38 +00:00
parent d04e3ac9f8
commit c0b47c0c2a
8 changed files with 91 additions and 67 deletions

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>OpenStreetMap Embedded</title>
<%= stylesheet_link_tag "embed", :media=> "screen" %>
<!--[if IE]>
<%= stylesheet_link_tag "leaflet.ie", :media=> "screen" %>
<![endif]-->
<%= javascript_include_tag "embed" %>
</head>
<body>
<div id="map"></div>
</body>
</html>