From 8bae996d578fd18af7f8490b01924fe4718628f0 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Wed, 13 Feb 2013 17:30:05 +1100 Subject: Rename helper method --- app/controllers/api_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api_controller.rb') diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 15fb4f5f9..0d6582773 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -228,7 +228,7 @@ class ApiController < ApplicationController :user_name => request.user_name, } if request.user - this_event[:user_url] = main_url(user_url(request.user)) + this_event[:user_url] = main_url(user_path(request.user)) end @event_data.push(this_event) -- cgit v1.2.3