Sha256: 42bd93b746656a0537c45da22e52790d53a33f70f6796fb6c82c8d7b10714974

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 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"

get "/;/cookie", to: "MainController#root"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nephos-server-0.7.2 routes.rb
nephos-server-0.7.1 routes.rb
nephos-server-0.7.0 routes.rb