Add Mastodon::Source.url (#4643)
* Add Mastodon::Source.url * Update spec * Refactor Move things frmo Mastodon::Source to Mastodon::Version
This commit is contained in:
parent
5927b43c0f
commit
696c2c6f2f
5 changed files with 26 additions and 4 deletions
|
@ -31,4 +31,8 @@ class InstancePresenter
|
|||
def version_number
|
||||
Mastodon::Version
|
||||
end
|
||||
|
||||
def source_url
|
||||
Mastodon::Version.source_url
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue