Skip to content

Commit a2eda14

Browse files
committed
Merge pull request browsermedia#701 from andyoll/use_cms_namespace_on_path
fix sidebar for content edit view - use namespace prefix with routing he...
2 parents 6eb76b2 + 32ba1fc commit a2eda14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/cms/content_block/_sidebar.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<ul class="unstyled">
1313
<h4 class="gray">Changes will affect:</h4>
1414
<% @block.connected_pages.each do |page| %>
15-
<li><%= link_to page.name, page_path(page), target: "_blank" %></li>
15+
<li><%= link_to page.name, cms.page_path(page), target: "_blank" %></li>
1616
<% end %>
1717
</ul>
1818
<% end %>

0 commit comments

Comments
 (0)