Sha256: a17209fdafd4f4dc914399ba23dd1011135ccda98cda7f5ec5bc5f04e47838e7

Contents?: true

Size: 1.12 KB

Versions: 4

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 "/err500", controller: "MainController", method: "err500"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nephos-server-0.6.9 routes.rb
nephos-server-0.6.8 routes.rb
nephos-server-0.6.7 routes.rb
nephos-server-0.6.5 routes.rb