From 7f66da349fb2c804540b404f8492f4541a8452ce Mon Sep 17 00:00:00 2001 From: uu59 Date: Thu, 24 Jul 2014 14:39:23 +0900 Subject: [PATCH] Fix #51 URLs rename to /daemon from /fluentd --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index c5580bd..cb44424 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,7 +1,8 @@ Rails.application.routes.draw do 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 "raw_log" get "errors"