REDMINE_LINK_TO_COMMIT.diff

Danil Tashkinov, 2013-01-25 10:09

Download (636 Bytes)

View differences:

app/helpers/application_helper.rb
748 748
          when 'commit', 'source', 'export'
749 749
            if project
750 750
              repository = nil
751
              if name =~ %r{^(([a-z0-9\-]+)\|)(.+)$}
751
              if name =~ %r{^(([a-z0-9\-\_]+)\|)(.+)$}
752 752
                repo_prefix, repo_identifier, name = $1, $2, $3
753 753
                repository = project.repositories.detect {|repo| repo.identifier == repo_identifier}
754 754
              else