From 823d07a2479bf50471687a574ec584a75727df62 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Tue, 31 Jan 2017 13:59:42 +1100 Subject: [PATCH] change controller method yo --- app/controllers/choice/choice_controller.rb | 2 +- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/choice/choice_controller.rb b/app/controllers/choice/choice_controller.rb index c1846bd..c92df7d 100644 --- a/app/controllers/choice/choice_controller.rb +++ b/app/controllers/choice/choice_controller.rb @@ -1,6 +1,6 @@ module Choice class ChoiceController < Choice::ApplicationController - def about + def index head 200 end end diff --git a/config/routes.rb b/config/routes.rb index 6c9841a..afd28df 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,3 @@ Choice::Engine.routes.draw do - get "about" => "choice#about" + get "about" => "choice#index" end