Fix #51 URLs rename to /daemon from /fluentd

This commit is contained in:
uu59 2014-07-24 14:39:23 +09:00
parent cee0b77a12
commit 7f66da349f

View File

@ -1,7 +1,8 @@
Rails.application.routes.draw do Rails.application.routes.draw do
root "welcome#home" root "welcome#home"
resource :fluentd, controller: :fluentd do # GH-51: URLs are changed from "/fluentd/xxx" to "/daemon/xxx", but already used xxx_fluentd_path renaming is so hard, thus path: "/daemon" is used for save trouble
resource :fluentd, controller: :fluentd, path: "/daemon" do
get "log" get "log"
get "raw_log" get "raw_log"
get "errors" get "errors"