link to mobile versions

This commit is contained in:
r888888888
2013-11-21 14:38:42 -08:00
parent 016fccbf0a
commit 1304912ee1
2 changed files with 4 additions and 0 deletions

View File

@@ -49,6 +49,8 @@
<% if CurrentUser.is_admin? %>
<li><%= link_to "Expunge", expunge_moderator_post_post_path(:post_id => post.id), :remote => true, :method => :post, :id => "expunge", :confirm => "This will permanently delete this post (meaning the file will be deleted). Are you sure you want to delete this post?" %></li>
<% end %>
<li><%= link_to "Mobile version", m_post_path(post) %></li>
<% end %>
<% end %>
</ul>