aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/shared/sidebar/_users.html.haml
diff options
context:
space:
mode:
authorrhenium <re4k@re4k.info>2013-05-30 17:22:55 +0900
committerrhenium <re4k@re4k.info>2013-05-30 17:22:55 +0900
commit72fb7942e6ea02b7182a3442175332009d1dac14 (patch)
tree7792addac50616724da96feafe433f9e0536785c /app/views/shared/sidebar/_users.html.haml
parent75e30f750533af57057fd5a9b7f725218f4be7d0 (diff)
downloadaclog-72fb7942e6ea02b7182a3442175332009d1dac14.tar.gz
improve error pages
Diffstat (limited to 'app/views/shared/sidebar/_users.html.haml')
-rw-r--r--app/views/shared/sidebar/_users.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/shared/sidebar/_users.html.haml b/app/views/shared/sidebar/_users.html.haml
index dba837e..6559641 100644
--- a/app/views/shared/sidebar/_users.html.haml
+++ b/app/views/shared/sidebar/_users.html.haml
@@ -33,12 +33,11 @@
= link_to "discovered by", user_discovered_by_path(@user.screen_name)
%li
= link_to "discovered users", user_discovered_users_path(@user.screen_name)
- %li
- = link_to "stats", user_stats_path(@user.screen_name)
- else
%li
= link_to "timeline", user_path(@user.screen_name)
%li
= link_to "discoveries", user_discoveries_path(@user.screen_name)
+ - if @user.registered?
%li
= link_to "stats", user_stats_path(@user.screen_name)