Skip to content
Snippets Groups Projects
Commit 5f779b91 authored by pabois's avatar pabois
Browse files

close #128

parent a785b1bc
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ module ActiveStorageGitPathStatic
has_many :git_files, class_name: "Communication::Website::GitFile", as: :about, dependent: :destroy
end
def git_path_static
def git_path(website)
"data/media/#{id[0..1]}/#{id}.yml"
end
end
......
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