diff plugins/redmine_bibliography/config/routes.rb @ 1282:8d30e7644b75 redmine-2.2-integration

fixed a few routes (using GET instead of POST ). Simplified JS code.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 13 May 2013 18:02:38 +0100
parents bdecc47b65b8
children af51e7e3e846
line wrap: on
line diff
--- a/plugins/redmine_bibliography/config/routes.rb	Fri May 10 17:59:12 2013 +0100
+++ b/plugins/redmine_bibliography/config/routes.rb	Mon May 13 18:02:38 2013 +0100
@@ -1,7 +1,7 @@
 RedmineApp::Application.routes.draw do
-  resources :publications
+    match "publications/show_bibtex_fields", :to => 'publications#show_bibtex_fields', :via => "get"
 
-  match "publications/show_bibtex_fields", :to => 'publications#show_bibtex_fields'
-  match "publications/autocomplete_for_author", :to => 'publications#autocomplete_for_author'
+    match "publications/autocomplete_for_author", :to => 'publications#autocomplete_for_author', :via => "get"
 
+    resources :publications
 end
\ No newline at end of file