  <% content_for(:page_title) do %>
    <%= @visualization.name %> |
  <% end %>

  <% content_for(:css) do %>
    <%= stylesheet_link_tag 'cdb/themes/css/cartodb.css' %>
    <%= stylesheet_link_tag :common, :table, :map, :media => 'all' %>
  <% end %>

  <script>
      var
        vis_data = <%=raw @visualization.attributes.to_json %>
      , user_data = <%=raw current_user.data.to_json.html_safe %>
      , config = <%=raw frontend_config.html_safe %>
      , map_data = <%=raw @visualization.map.public_values.to_json %>
  </script>

  <% content_for(:js) do %>
      <script type="text/javascript"
          src="https://maps.google.com/maps/api/js?sensor=false&v=3.12">
      </script>
    <%= javascript_include_tag :application, :cdb, :table %>
  <% end %>

  <div class="panes"></div>

  <% content_for(:page_title) do %>
    <%= @visualization.name %> |
  <% end %>

  <% content_for(:css) do %>
    <%= stylesheet_link_tag 'cdb/themes/css/cartodb.css' %>
    <%= stylesheet_link_tag :common, :table, :map, :media => 'all' %>
  <% end %>

  <script>
      var
        vis_data = <%=raw @visualization.to_hash.to_json %>
      , user_data = <%=raw current_user.data.to_json.html_safe %>
      , config = <%=raw frontend_config.html_safe %>
      , map_data = <%=raw @visualization.map.public_values.to_json %>
  </script>

  <% content_for(:js) do %>
      <script type="text/javascript"
          src="https://maps.google.com/maps/api/js?sensor=false&v=3.12">
      </script>
    <%= javascript_include_tag :application, :cdb, :table %>
  <% end %>

  <div class="panes"></div>

Use Visualization::Presenter when rendering visualization show view
Use Visualization::Presenter when rendering visualization show view
