mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 01:56:22 +00:00
Rails.root.join devuelve Pathname, no String
This commit is contained in:
parent
908a0a90a8
commit
134535cb1c
1 changed files with 2 additions and 2 deletions
|
@ -161,12 +161,12 @@ class Site
|
|||
|
||||
# @return [String]
|
||||
def public_key
|
||||
@public_key ||= Rails.root.join('.ssh', 'id_ed25519.pub')
|
||||
@public_key ||= Rails.root.join('.ssh', 'id_ed25519.pub').to_s
|
||||
end
|
||||
|
||||
# @return [String]
|
||||
def private_key
|
||||
@private_key ||= Rails.root.join('.ssh', 'id_ed25519')
|
||||
@private_key ||= Rails.root.join('.ssh', 'id_ed25519').to_s
|
||||
end
|
||||
|
||||
def relativize(file)
|
||||
|
|
Loading…
Reference in a new issue