Merge lp:~tamisoft/redminelocalavatars/redmine-1.4 into lp:redminelocalavatars

Proposed by Tamisoft
Status: Superseded
Proposed branch: lp:~tamisoft/redminelocalavatars/redmine-1.4
Merge into: lp:redminelocalavatars
Diff against target: 11 lines (+7/-0)
1 file modified
config/routes.rb (+7/-0)
To merge this branch: bzr merge lp:~tamisoft/redminelocalavatars/redmine-1.4
Reviewer Review Type Date Requested Status
Luca Pireddu Pending
Review via email: mp+93663@code.launchpad.net

This proposal has been superseded by a proposal from 2012-02-18.

Description of the change

Added routes.rb for redmine 1.4 compatibility.

To post a comment you must log in.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'config/routes.rb'
2--- config/routes.rb 1970-01-01 00:00:00 +0000
3+++ config/routes.rb 2012-02-17 23:03:18 +0000
4@@ -0,0 +1,7 @@
5+ActionController::Routing::Routes.draw do |map|
6+ map.connect 'my/avatar', :controller => 'my', :action => 'avatar', :conditions => {:method => [:get, :post]}
7+ map.connect 'my/save_avatar/:id', :controller => 'my', :action => 'save_avatar', :id=>/\d+/, :conditions => {:method => [:get, :post]}
8+ map.connect 'account/get_avatar/:id', :controller => 'account', :action => 'get_avatar', :id=>/\d+/, :conditions => {:method => [:get, :post]}
9+ map.connect 'users/save_avatar/:id', :controller => 'users', :action => 'save_avatar', :id=>/\d+/, :conditions => {:method => [:get, :post]}
10+ map.connect 'users/get_avatar/:id', :controller => 'users', :action => 'get_avatar', :id=>/\d+/, :conditions => {:method => [:get, :post]}
11+end

Subscribers

People subscribed via source and target branches

to all changes: