module Api
class TracesController < ApiController
- layout "site", :except => :georss
-
before_action :authorize_web
before_action :set_locale
before_action :authorize
end
def offline_error
- report_error "GPX files offline for maintenance", :service_unavailable
+ report_error "GPX files offline for maintenance", :service_unavailable if Settings.status == "gpx_offline"
end
end
end