diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-13 17:30:05 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 12:22:23 +1100 |
commit | 8bae996d578fd18af7f8490b01924fe4718628f0 (patch) | |
tree | 788fd3452d23e382cff23c6816a38c62c6daa752 /app/controllers/api_controller.rb | |
parent | eb0da8db16cf946019155398219b4c06c5236ae6 (diff) |
Rename helper method
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r-- | app/controllers/api_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |