test/dummy/app/haviors/misc/todo/todo_controller.rb in havior-0.1.0 vs test/dummy/app/haviors/misc/todo/todo_controller.rb in havior-0.1.1
- old
+ new
@@ -1,23 +1,11 @@
class Misc::Todo::TodoController < ApplicationController
- # GET /havior/misc/todo/todo/list
- def list
+ # GET /havior/misc/todo/todo/ggg
+ def ggg
render json: { result: "success",
- message: "`Misc::Todo::Todo#list`" }
- end
-
- # POST /havior/misc/todo/todo/add
- def add
- render json: { result: "success",
- message: "`Misc::Todo::Todo#add`" }
- end
-
- # GET /havior/misc/todo/todo/del
- def del
- render json: { result: "success",
- message: "`Misc::Todo::Todo#del`" }
+ message: "`Misc::Todo::Todo#ggg`" }
end
end