Commit e213f949857115bb84ebbab0fd76a0c6f8ba475d
Exists in
master
and in
4 other branches
Merge pull request #199 from jalada/master
Image is broken on dashboard if deployed to a subdomain
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/dashboard/_menu.html.haml
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | = 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" | 2 | = 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" |
3 | = link_to "Issues", dashboard_issues_path, :remote => true, :class => "button-small dash-button #{"active" if current_page?(dashboard_issues_path)}", :id => "issues_slide" | 3 | = link_to "Issues", dashboard_issues_path, :remote => true, :class => "button-small dash-button #{"active" if current_page?(dashboard_issues_path)}", :id => "issues_slide" |
4 | = 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" | 4 | = 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" |
5 | - %img{:src => "/assets/ajax-loader-facebook.gif", :class => "dashboard-loader"} | 5 | + = image_tag "ajax-loader-facebook.gif", :class => "dashboard-loader" |
6 | 6 | ||
7 | :javascript | 7 | :javascript |
8 | $(function(){ | 8 | $(function(){ |