aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/_base.html.haml
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2014-03-09 02:01:16 +0900
committerRhenium <rhenium@rhe.jp>2014-03-09 02:01:16 +0900
commit1647b05cb2e8604d716dec4072c20ce9de3bfbaa (patch)
treea1d8b9826fd2f969efd3e2e85f4906cf4dbaf341 /app/views/layouts/_base.html.haml
parenta0103c39c4d59d91371d498ad43365a395c4d2d0 (diff)
downloadaclog-1647b05cb2e8604d716dec4072c20ce9de3bfbaa.tar.gz
fix profile_image load error handling
Diffstat (limited to 'app/views/layouts/_base.html.haml')
-rw-r--r--app/views/layouts/_base.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_base.html.haml b/app/views/layouts/_base.html.haml
index 3186151..1cf0631 100644
--- a/app/views/layouts/_base.html.haml
+++ b/app/views/layouts/_base.html.haml
@@ -42,7 +42,7 @@
- if logged_in?
%li.dropdown
%a.dropdown-toggle{href: "#", data: { toggle: "dropdown" }}<
- %img.twitter-icon{src: current_user.profile_image_url_mini, alt: "@" + current_user.screen_name}
+ = profile_image_tag current_user, :mini
%span.caret/
%ul.dropdown-menu
%li= link_to "Best", user_path(current_user.screen_name)