Rails.application.routes.draw do resources :surveys root 'surveys#home' get '/callback' => 'surveys#callback' <<<<<<< HEAD get 'my_created_surveys', to: 'surveys#my_created_surveys', as: 'my_created_surveys' ======= #post '/teachers/:id/add_subject/(.:format)' => 'teachers#add_subject', as: 'add_subject' >>>>>>> 28902d807ce76710371dbe3923919a4b70ac463d end