aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/shared
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2014-02-21 17:15:01 +0900
committerRhenium <rhenium@rhe.jp>2014-02-21 17:15:01 +0900
commit24972568be32e9b32126e10434b503da3dad76f6 (patch)
tree487b426c0b9e9ce2d23e469600af904ec2d06cfb /app/views/shared
parent94cbdf269bb4dc26f22fcafb8645078973cff98e (diff)
downloadaclog-24972568be32e9b32126e10434b503da3dad76f6.tar.gz
fix sidebar: threshold menu was hidden in user_timeline / user_discoveries / user_discovered_by
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_sidebar_user.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_sidebar_user.html.haml b/app/views/shared/_sidebar_user.html.haml
index 2b68f7b..a5be9e1 100644
--- a/app/views/shared/_sidebar_user.html.haml
+++ b/app/views/shared/_sidebar_user.html.haml
@@ -19,7 +19,7 @@
%span> d ago
- else
.alert.alert-aclog @#{user.screen_name} は aclog に登録していません
- - _show_thresholds = ["timeline", "discoveries", "discovored_by"].include?(params[:action])
+ - _show_thresholds = ["user_timeline", "user_discoveries", "user_discovored_by"].include?(params[:action])
.sidebar-list{class: _show_thresholds ? "row" : ""}
.list-group{class: _show_thresholds ? "col-xs-6 col-sm-12" : ""}
- if authorized_to_show_user_best?(user)