r334 - branches/jredmine-1.x/jredmine-client/src/main/redmine/jredmine-2.x/config
Author: tchemit Date: 2012-10-04 00:53:13 +0200 (Thu, 04 Oct 2012) New Revision: 334 Url: http://nuiton.org/repositories/revision/jredmine/334 Log: fix login route for jremdine plugin Modified: branches/jredmine-1.x/jredmine-client/src/main/redmine/jredmine-2.x/config/routes.rb Modified: branches/jredmine-1.x/jredmine-client/src/main/redmine/jredmine-2.x/config/routes.rb =================================================================== --- branches/jredmine-1.x/jredmine-client/src/main/redmine/jredmine-2.x/config/routes.rb 2012-10-03 07:29:40 UTC (rev 333) +++ branches/jredmine-1.x/jredmine-client/src/main/redmine/jredmine-2.x/config/routes.rb 2012-10-03 22:53:13 UTC (rev 334) @@ -25,9 +25,10 @@ RedmineApp::Application.routes.draw do # jredmine : actions with no project context - match 'jredmine/:action.xml', :to => 'jredmine#:action', :action => ['get_projects', 'get_user_projects', 'get_issue_statuses', 'get_issue_priorities', 'get_enumeration'], :format => 'xml', :via => ['get'] - match 'jredmine/:action.json', :to => 'jredmine#:action', :action => ['get_projects', 'get_user_projects', 'get_issue_statuses', 'get_issue_priorities', 'get_enumeration'], :format => 'json', :via => ['get'] - match 'jredmine/:action', :to => 'jredmine#:action', :action => ['ping', 'login', 'logout', 'get_projects', 'get_user_projects', 'get_issue_statuses', 'get_issue_priorities', 'get_enumeration'], :format => 'xml', :via => ['get'] + match 'jredmine/:action.xml', :to => 'jredmine#:action', :action => ['get_projects', 'get_user_projects', 'get_issue_statuses', 'get_issue_priorities', 'get_enumeration'], :format => 'xml', :via => ['get'] + match 'jredmine/:action.json', :to => 'jredmine#:action', :action => ['get_projects', 'get_user_projects', 'get_issue_statuses', 'get_issue_priorities', 'get_enumeration'], :format => 'json', :via => ['get'] + match 'jredmine/:action', :to => 'jredmine#:action', :action => ['login'], :format => 'xml', :via => ['post'] + match 'jredmine/:action', :to => 'jredmine#:action', :action => ['ping', 'logout', 'get_projects', 'get_user_projects', 'get_issue_statuses', 'get_issue_priorities', 'get_enumeration'], :format => 'xml', :via => ['get'] # jredmine/action/:pid : actions with project context match 'jredmine/:action.xml/:pid', :to=> 'jredmine#:action', :pid => /.+/, :format => 'xml', :via => ['get', 'post']
participants (1)
-
tchemit@users.nuiton.org