Sha256: bff14c358c7047ce94458034e65c8a6c1cb4192c55ca4e6f069d4e1600c6e2ce

Contents?: true

Size: 924 Bytes

Versions: 2

Compression:

Stored size: 924 Bytes

Contents

resource "home" do
  resource "/index" do
    get url: "/", controller: "MainController", method: "root"
    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
  get url: "/", controller: "MainController", method: "root"
end

get url: "/", controller: "MainController", method: "root"
get url: "/add", controller: "MainController", method: "add_url"
get url: "/rm", controller: "MainController", method: "rm_url"
get url: "/debug", controller: "MainController", method: "debug"
get url: "/hello", controller: "MainController", method: "hello"

get url: "/image", controller: "MainController", method: "image"
get url: "/image/:image", controller: "MainController", method: "image"
get url: "img/:image", controller: "MainController", method: "image"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nephos-server-0.5.2 routes.rb
nephos-server-0.5.0 routes.rb