Tidy up.
This commit is contained in:
parent
543e8c5503
commit
783748b1e5
1 changed files with 1 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
class UserController < ApplicationController
|
||||
layout 'site'
|
||||
layout 'site', :except => :api_details
|
||||
|
||||
before_filter :authorize, :only => [:api_details, :api_gpx_files]
|
||||
before_filter :authorize_web, :except => [:api_details, :api_gpx_files]
|
||||
|
@ -245,11 +245,6 @@ class UserController < ApplicationController
|
|||
redirect_to :controller => 'user', :action => 'view', :display_name => @user.display_name
|
||||
end
|
||||
|
||||
def api_details
|
||||
# moved implementation to a view.
|
||||
render :layout => false
|
||||
end
|
||||
|
||||
def api_gpx_files
|
||||
doc = OSM::API.new.get_xml_doc
|
||||
@user.traces.each do |trace|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue