diff --git a/app/models/communication/website/page.rb b/app/models/communication/website/page.rb index 10fa242703f10f9e74030f6488c08a901044499d..a940b3508bb240434c14b4a76e3a1d7ea9448e13 100644 --- a/app/models/communication/website/page.rb +++ b/app/models/communication/website/page.rb @@ -84,7 +84,7 @@ class Communication::Website::Page < ApplicationRecord scope :recent, -> { order(updated_at: :desc).limit(5) } def generated_path - "#{parent&.path}/#{slug}/".gsub(/\/+/, '/') + "#{parent&.path}#{slug}/".gsub(/\/+/, '/') end def git_path(website)