Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change root_url to root_path

  • Loading branch information...
commit 2ff89ed33decbe7a04c578d0ede94ec120978061 1 parent 88e15ed
@movilla movilla authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/layouts/application.html.haml
View
2  app/views/layouts/application.html.haml
@@ -71,7 +71,7 @@
%li= link_to '@joindiaspora', "http://twitter.com/joindiaspora"
%li= link_to 'github', "https://github.com/diaspora/diaspora"
%li= link_to t('layouts.header.blog'), "http://blog.joindiaspora.com"
- %li= link_to t('layouts.header.code'), "#{root_url.chomp('/')}/source.tar.gz" unless request.url.match(/joindiaspora.com/)
+ %li= link_to t('layouts.header.code'), "#{root_path.chomp('/')}/source.tar.gz" unless request.url.match(/joindiaspora.com/)
%li= link_to t('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog'
%li= link_to(t('layouts.application.toggle'), toggle_mobile_path) if is_mobile_device?
= image_tag 'branding/powered_by_diaspora.png', :height => "11px", :width => "145px"
Please sign in to comment.
Something went wrong with that request. Please try again.