aboutsummaryrefslogtreecommitdiff
path: root/app/lib/incommon.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/incommon.rb')
-rw-r--r--app/lib/incommon.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/incommon.rb b/app/lib/incommon.rb
index e843683..e1e3887 100644
--- a/app/lib/incommon.rb
+++ b/app/lib/incommon.rb
@@ -8,10 +8,10 @@ module INCOMMON
# Return a String representation of the current source code URL
def repo_url(version)
case version
+ when /^incommon-map (v.*)/
+ query="h=#{$1}"
when /^incommon-map @(.*)/
query="h=main&id=#{$1}"
- when /^incommon-map (v.*)/
- query="h=$1"
else
query="h=HEAD"
end