Skip to content

Commit

Permalink
[#262] Fix helper import in lib.mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jan 9, 2013
1 parent 7b75158 commit 25f286e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/lib/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pylons.i18n.translation import _
from pylons import config, g
from ckan import model, __version__
from ckan.lib.helpers import url_for
import ckan.lib.helpers as h
import paste.deploy.converters

log = logging.getLogger(__name__)
Expand Down Expand Up @@ -115,7 +115,7 @@ def create_reset_key(user):

def get_reset_link(user):
return urljoin(g.site_url,
url_for(controller='user',
h.url_for(controller='user',
action='perform_reset',
id=user.id,
key=user.reset_key))
Expand Down

0 comments on commit 25f286e

Please sign in to comment.