aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/admin/blog/comments/show.html.erb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-09-03 22:09:51 -0700
committerPhilip Arndt <parndt@gmail.com>2011-09-03 22:09:51 -0700
commit40be4f71ee425ee55ecedea96ff2b0dc510d71db (patch)
tree3ba02acc7861ef51045f0196dff6bac9efda40d5 /app/views/refinery/admin/blog/comments/show.html.erb
parent80ca7c1bf99befac70803309e542a4db54f1f198 (diff)
parent6212e60f9e4d144f9a136f6c82b33abd47ddb237 (diff)
downloadrefinerycms-blog-40be4f71ee425ee55ecedea96ff2b0dc510d71db.tar.gz
refinerycms-blog-40be4f71ee425ee55ecedea96ff2b0dc510d71db.tar.bz2
refinerycms-blog-40be4f71ee425ee55ecedea96ff2b0dc510d71db.zip
Merge pull request #126 from enmasse-entertainment/fix-comments
Fix comments
Diffstat (limited to 'app/views/refinery/admin/blog/comments/show.html.erb')
-rw-r--r--app/views/refinery/admin/blog/comments/show.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/refinery/admin/blog/comments/show.html.erb b/app/views/refinery/admin/blog/comments/show.html.erb
index 2e72eb0..3dc50ff 100644
--- a/app/views/refinery/admin/blog/comments/show.html.erb
+++ b/app/views/refinery/admin/blog/comments/show.html.erb
@@ -6,14 +6,14 @@
<h2><%= t('.actions') %></h2>
<ul>
<li>
- <%= link_to t('.back'), {:action => 'index'}, :class => "back_icon" %>
+ <%= link_to t('.back'), main_app.refinery_admin_blog_comments_path, :class => "back_icon" %>
</li>
<li>
- <%= link_to t('.reject'), rejected_admin_blog_comment_path(@blog_comment, :return_to => 'rejected'),
+ <%= link_to t('.reject'), main_app.rejected_refinery_admin_blog_comment_path(@blog_comment, :return_to => 'rejected'),
:class => 'comment_cross_icon' unless @blog_comment.rejected? %>
</li>
<li>
- <%= link_to t('.approve'), approved_admin_blog_comment_path(@blog_comment, :return_to => 'approved'),
+ <%= link_to t('.approve'), main_app.approved_refinery_admin_blog_comment_path(@blog_comment, :return_to => 'approved'),
:class => 'comment_tick_icon' unless @blog_comment.approved? %>
</li>
</ul>
@@ -27,7 +27,7 @@
</td>
<td>
<%= link_to @blog_comment.post.title,
- blog_post_url(@blog_comment.post, :anchor => "comment-#{@blog_comment.to_param}"),
+ main_app.blog_post_path(@blog_comment.post, :anchor => "comment-#{@blog_comment.to_param}"),
:target => '_blank' %>
</td>
</tr>