From 611f9f39aa44f5f5d4a826db6bef2f7e13b991c9 Mon Sep 17 00:00:00 2001 From: drakontia Date: Thu, 13 Dec 2012 02:09:26 +0900 Subject: [PATCH] change to routes.rb as Redmine plugins --- config/routes.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 6b83fee..42f13ad 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ # Plugin's routes # See: http://guides.rubyonrails.org/routing.html -get 'ratios', :to => 'ratios#index' \ No newline at end of file +RedmineApp::Application.routes.draw do + match 'projects/:id/ratios/:action', :to => 'ratios#index', :via => [:get] +end