From 53aa79442e2367671336b25b0a067a0ee3803e8c Mon Sep 17 00:00:00 2001 From: Brendan McDevitt Date: Wed, 20 Apr 2022 00:22:45 -0500 Subject: [PATCH] add route for gsds --- config/routes.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 7370b4a..2d7d20e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -37,4 +37,8 @@ Rails.application.routes.draw do get '/github_users', to: 'github_users#index' get '/github_users/:username', to: 'github_users#show' + + get '/gsds', to: 'gsds#index' + get '/gsds/:gsd_id', to: 'gsds#show' + get '/gsds/years/:year' to: 'gsds#show_year' end