Skip to content
Snippets Groups Projects
Commit 6f74bdff authored by pabois's avatar pabois
Browse files

page path

parent 4e66057b
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ class Communication::Website::Page < ApplicationRecord
scope :recent, -> { order(updated_at: :desc).limit(5) }
def github_path_generated
"_pages/#{path}/index.html".gsub('//', '/')
"_pages/#{path}/index.html".gsub('///', '/').gsub('//', '/')
end
def to_jekyll
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment