Skip to content

Commit

Permalink
Merge pull request #2 from drakontia/fixroutes
Browse files Browse the repository at this point in the history
change to routes.rb as Redmine plugins
  • Loading branch information
gamafranco committed Dec 13, 2012
2 parents f543a42 + 611f9f3 commit 198f133
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/routes.rb
@@ -1,4 +1,6 @@
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html

get 'ratios', :to => 'ratios#index'
RedmineApp::Application.routes.draw do
match 'projects/:id/ratios/:action', :to => 'ratios#index', :via => [:get]
end

0 comments on commit 198f133

Please sign in to comment.