routes.rb in nephos-server-0.4.8 vs routes.rb in nephos-server-0.5.0
- old
+ new
@@ -1,9 +1,9 @@
resource "home" do
resource "/index" do
get url: "/", controller: "MainController", method: "root"
- get url: "/add", controller: "MainController", method: "add_url"
- get url: "/rm", controller: "MainController", method: "rm_url"
+ post url: "/add", controller: "MainController", method: "add_url"
+ put url: "/rm", controller: "MainController", method: "rm_url"
end
get url: "/", controller: "MainController", method: "root"
end
resource "homes" do