Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix trouble with project forks
  • Loading branch information
zzet committed Jun 18, 2014
1 parent b60a393 commit 1248a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitlab_projects.rb
Expand Up @@ -20,7 +20,7 @@ class GitlabProjects
def self.create_hooks(path)
hooks = File.join(path, 'hooks')
FileUtils.rm_rf(hooks) if File.exists?(hooks)
File.symlink(File.join(@config.gitlab_shell_path, 'hooks'), hooks)
File.symlink(File.join(GitlabConfig.new.gitlab_shell_path, 'hooks'), hooks)
end

def initialize
Expand Down

0 comments on commit 1248a80

Please sign in to comment.