diff options
author | Daigo 3 Dango <zunda@users.noreply.github.com> | 2017-08-22 20:54:19 +0000 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-22 22:54:19 +0200 |
commit | 696c2c6f2f3338df121cf17389478da9ecab11af (patch) | |
tree | 957a1e6d30482048ea08e617bec77e784b15896b /app/views | |
parent | 5927b43c0fc74e66cd3a882b565ea70236559c02 (diff) |
Add Mastodon::Source.url (#4643)
* Add Mastodon::Source.url * Update spec * Refactor Move things frmo Mastodon::Source to Mastodon::Version
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/about/more.html.haml | 4 | ||||
-rw-r--r-- | app/views/about/show.html.haml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml index a6fd265fa..094188472 100644 --- a/app/views/about/more.html.haml +++ b/app/views/about/more.html.haml @@ -63,5 +63,5 @@ .footer-links .container %p - = link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon' - = " (#{@instance_presenter.version_number})" \ No newline at end of file + = link_to t('about.source_code'), @instance_presenter.source_url + = " (#{@instance_presenter.version_number})" diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml index acdb12ad7..93270fe3d 100644 --- a/app/views/about/show.html.haml +++ b/app/views/about/show.html.haml @@ -76,5 +76,5 @@ .footer-links .container %p - = link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon' - = " (#{@instance_presenter.version_number})" \ No newline at end of file + = link_to t('about.source_code'), @instance_presenter.source_url + = " (#{@instance_presenter.version_number})" |