]> nos-oignons.net Git - gestion-adh.git/blobdiff - lib/nos_oignons/member.rb
Fix NosOigons::Member.db_path
[gestion-adh.git] / lib / nos_oignons / member.rb
index 46fc41b3f7f89066de16b824f5d593064e1130ca..8b0bd97a0f4b97a7d1e8b601c00341e0053cb1de 100644 (file)
@@ -21,7 +21,7 @@ module NosOignons
           if File.exists?(File.join(git_path, MEMBERS_DB_DIR))
             @db_path = File.join(git_path, MEMBERS_DB_DIR)
           else
-            @db_path = File.join(File.expand_path('../wiki-ca', path), MEMBERS_DB_DIR)
+            @db_path = File.join(File.expand_path('../wiki-ca', git_path), MEMBERS_DB_DIR)
           end
         end
         @db_path