From bcfa571b0328a4b3e94479a31c027621ceb86ad5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 4 Apr 2014 20:35:16 -0400 Subject: Implement the new security mechanism --- config/routes.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 571e629..45694aa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -15,10 +15,9 @@ Leaguer::Application.routes.draw do resources :teams resources :tournaments do - resources :matches + resources :matches, only: [:index, :show] end - root to: 'static#homepage' get '/testsvg', to: 'static#test' -- cgit v1.2.3