Sha256: c3b7baa7cc422601dd72a5229704275d714903688817729ad2695325be02b4c6

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

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"

get url: "/get_cookies", controller: "MainController", method: "get_cookies"
get url: "/add_cookie", controller: "MainController", method: "add_cookie"
get url: "/err500", controller: "MainController", method: "err500"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nephos-server-0.5.4 routes.rb