]> nos-oignons.net Git - gestion-adh.git/commitdiff
Fix NosOigons::Member.db_path
authorLunar <lunar@anargeek.net>
Mon, 3 Jun 2013 09:36:06 +0000 (11:36 +0200)
committerLunar <lunar@anargeek.net>
Mon, 3 Jun 2013 09:36:06 +0000 (11:36 +0200)
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
           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
           end
         end
         @db_path