summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-22 17:42:57 -0400
committertkimia <tkimia@purdue.edu>2014-04-22 17:42:57 -0400
commitbb53f8ac2ab52301b32fe65ddc10a32f6bc730e8 (patch)
tree7e1f13fc9227093c7c2d5d60777cc7360fb34318 /config
parent44c8a2709c9eebe75f2d97ef2dee28a6f5966c9f (diff)
prelim search
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)