Inline key partial used only on index
This commit is contained in:
parent
87e8cf3b58
commit
d62e8c43f3
3 changed files with 4 additions and 5 deletions
|
@ -1,3 +0,0 @@
|
|||
<% content_for :left_menu do %>
|
||||
<li><%= link_to t("site.key.map_key"), {:action => :key}, :id => "open_map_key", :title => t("site.key.map_key_tooltip") %></li>
|
||||
<% end %>
|
|
@ -8,9 +8,12 @@
|
|||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
<% content_for :left_menu do %>
|
||||
<li><%= link_to t("site.key.map_key"), {:action => :key}, :id => "open_map_key", :title => t("site.key.map_key_tooltip") %></li>
|
||||
<% end %>
|
||||
|
||||
<%= render :partial => 'home_link' %>
|
||||
<%= render :partial => 'sidebar' %>
|
||||
<%= render :partial => 'key' %>
|
||||
<%= render :partial => 'search' %>
|
||||
|
||||
<noscript>
|
||||
|
|
|
@ -86,7 +86,6 @@ class SiteControllerTest < ActionController::TestCase
|
|||
|
||||
def assert_site_partials(count = 1)
|
||||
assert_template :partial => '_search', :count => count
|
||||
assert_template :partial => '_key', :count => count
|
||||
assert_template :partial => '_sidebar', :count => count
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue