Merge pull request #3440 from movilla/master
Change root_url to root_path
This commit is contained in:
commit
8763450cfb
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@
|
||||||
%li= link_to '@joindiaspora', "http://twitter.com/joindiaspora"
|
%li= link_to '@joindiaspora', "http://twitter.com/joindiaspora"
|
||||||
%li= link_to 'github', "https://github.com/diaspora/diaspora"
|
%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.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('.whats_new'), 'https://github.com/diaspora/diaspora/wiki/Changelog'
|
||||||
%li= link_to(t('layouts.application.toggle'), toggle_mobile_path) if is_mobile_device?
|
%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"
|
= image_tag 'branding/powered_by_diaspora.png', :height => "11px", :width => "145px"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue