Skip to content
Snippets Groups Projects
Unverified Commit 1fc0a43d authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

with media generated path

parent 7dc503a0
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,10 @@ module Communication::Website::WithMedia
university.active_storage_blobs.where(id: blob_ids)
end
def blob_github_path_generated(blob)
"_media/#{blob.id}.md"
end
def blob_to_jekyll(blob)
ApplicationController.render(
template: 'active_storage/blobs/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