From edece21e229c568b8017aca845f7fd9ca5ee74ee Mon Sep 17 00:00:00 2001 From: David Somers Date: Wed, 14 Dec 2011 15:24:39 +0000 Subject: [PATCH] Use #image_tag for dashboard tabs throbber. --- app/views/dashboard/_menu.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dashboard/_menu.html.haml b/app/views/dashboard/_menu.html.haml index 0d04899c37d..64ef12c5339 100644 --- a/app/views/dashboard/_menu.html.haml +++ b/app/views/dashboard/_menu.html.haml @@ -2,7 +2,7 @@ = link_to "Activities", dashboard_path, :remote => true, :class => "button-small dash-button #{"active" if current_page?(dashboard_path) || current_page?(root_path) }", :id => "activities_slide" = link_to "Issues", dashboard_issues_path, :remote => true, :class => "button-small dash-button #{"active" if current_page?(dashboard_issues_path)}", :id => "issues_slide" = link_to "Merge Requests", dashboard_merge_requests_path, :remote => true, :class => "button-small dash-button #{"active" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide" - %img{:src => "/assets/ajax-loader-facebook.gif", :class => "dashboard-loader"} + = image_tag "ajax-loader-facebook.gif", :class => "dashboard-loader" :javascript $(function(){