change controller method yo
This commit is contained in:
parent
df810c3613
commit
823d07a247
|
@ -1,6 +1,6 @@
|
||||||
module Choice
|
module Choice
|
||||||
class ChoiceController < Choice::ApplicationController
|
class ChoiceController < Choice::ApplicationController
|
||||||
def about
|
def index
|
||||||
head 200
|
head 200
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Choice::Engine.routes.draw do
|
Choice::Engine.routes.draw do
|
||||||
get "about" => "choice#about"
|
get "about" => "choice#index"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue