Permalink
Browse files

Redirect to root path to login.

  • Loading branch information...
1 parent 6ae8832 commit 8f0962e39e4932e680d9d507ac14e33f6f6cf68c @mpereira mpereira committed Nov 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/shared/_comments.html.haml
@@ -16,7 +16,7 @@
:commentable => commentable,
:path_scope => path_scope, :inline => true}
- else
- %p= t("comments.shared.not_logged", :link => new_user_session_path)
+ %p= t("comments.shared.not_logged", :link => root_path)
- else
= render :partial => "comments/comment", :object => comments[0], :locals => {:source => source, :mini => true}
- comments = comments[1 .. comments.count]

0 comments on commit 8f0962e

Please sign in to comment.