summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-04-22 18:17:47 -0400
committernfoy <nfoy@purdue.edu>2014-04-22 18:17:47 -0400
commit7f452e8d99a86af2e3dc2f743158951092aedeb7 (patch)
tree103f3cb57b05c5a580c3a5152a2a97f5a8070d1e /config
parent7fe1f6a809d68648bede431b84692bf7d8bb0c01 (diff)
parent7deb9c1c7acadf9a5b638313f51ba9dc60624672 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f94bd2f..c1bbf52 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -24,8 +24,14 @@ Leaguer::Application.routes.draw do
end
root to: 'static#homepage'
+
get '/testsvg', to: 'static#test'
+
+ get '/search', to: 'search#go'
+
end
+
+
Leaguer::Application.routes.named_routes.module.module_eval do
def match_path(match, options={})
tournament_match_path(match.tournament_stage.tournament, match, options)