summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/helpers/application_helper.rb2
-rw-r--r--app/views/layouts/_nav.html.haml2
-rw-r--r--app/views/user_sessions/show.html.haml2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 069005f..8eeb409 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,6 +1,6 @@
module ApplicationHelper
def loader_html
- image_tag 'loader.gif'
+ image_tag 'loader.gif', alt: 'Loading'
end
def gravatar_icon(user_email = '', size = nil)
diff --git a/app/views/layouts/_nav.html.haml b/app/views/layouts/_nav.html.haml
index ab2308a..d571716 100644
--- a/app/views/layouts/_nav.html.haml
+++ b/app/views/layouts/_nav.html.haml
@@ -21,7 +21,7 @@
%li
= link_to user_sessions_path do
.profile-holder
- = image_tag gravatar_icon(current_user.email, 64)
+ = image_tag gravatar_icon(current_user.email, 64), alt: ''
%span= current_user.name
%li
= link_to user_sessions_path, class: "logout", method: :delete do
diff --git a/app/views/user_sessions/show.html.haml b/app/views/user_sessions/show.html.haml
index 12aea2a..0faf2f7 100644
--- a/app/views/user_sessions/show.html.haml
+++ b/app/views/user_sessions/show.html.haml
@@ -1,4 +1,4 @@
-= image_tag gravatar_icon(current_user.email, 120), class: 'img-polaroid'
+= image_tag gravatar_icon(current_user.email, 120), class: 'img-polaroid', alt: ''
%h3
Hi, #{@user.name}