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

Merge branch 'master' of github.com:noesya/osuny

parents 362ae837 9ac5a40b
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ module WithGit
def destroy_from_git
websites_with_fallback.each do |website|
identifiers.each do |identifier|
identifiers(website: website).each do |identifier|
Communication::Website::GitFile.sync website, self, identifier, destroy: true
dependencies = send "git_destroy_dependencies_#{identifier}"
dependencies.each do |object|
......@@ -52,7 +52,7 @@ module WithGit
def sync_with_git
websites_with_fallback.each do |website|
identifiers.each do |identifier|
identifiers(website: website).each do |identifier|
Communication::Website::GitFile.sync website, self, identifier
dependencies = send "git_dependencies_#{identifier}"
dependencies.each do |object|
......@@ -79,7 +79,7 @@ module WithGit
end
# Overridden for multiple files generation
def identifiers
def identifiers(website: nil)
[:static]
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