2013-01-11 23:49:59 +00:00
|
|
|
<%#
|
2014-07-31 01:10:10 +00:00
|
|
|
# @file
|
|
|
|
# Code to display a map
|
|
|
|
# /maps/:id
|
|
|
|
#%>
|
|
|
|
|
2013-07-09 16:32:13 +00:00
|
|
|
<% content_for :title, @map.name + " | Metamaps" %>
|
2013-01-06 23:40:48 +00:00
|
|
|
|
2013-01-05 02:39:16 +00:00
|
|
|
<script>
|
2014-08-10 17:06:58 +00:00
|
|
|
Metamaps.currentSection = "map";
|
|
|
|
Metamaps.currentPage = <%= @map.id.to_s %>;
|
2014-07-31 01:10:10 +00:00
|
|
|
Metamaps.Active.Map = <%= @map.to_json.html_safe %>;
|
2014-08-04 16:20:16 +00:00
|
|
|
Metamaps.Mappers = <%= @allmappers.to_json.html_safe %>;
|
2014-07-31 01:10:10 +00:00
|
|
|
Metamaps.Metacodes = <%= @allmetacodes.to_json.html_safe %>;
|
|
|
|
Metamaps.Topics = <%= @alltopics.to_json.html_safe %>;
|
|
|
|
Metamaps.Synapses = <%= @allsynapses.to_json.html_safe %>;
|
|
|
|
Metamaps.Mappings = <%= @allmappings.to_json.html_safe %>;
|
2014-08-02 17:49:51 +00:00
|
|
|
</script>
|