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

@@ -10,5 +10,7 @@
<% end %>
<li><%= link_to "Random post", random_posts_path(:tags => params[:tags]) %></li>
<li><%= link_to "Mobile version", m_posts_path(:tags => params[:tags]) %></li>
</ul>
</section>

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>