- layout "site", :except => [:api_details]
-
- before_action :disable_terms_redirect, :only => [:api_details]
- before_action :authorize, :only => [:api_details, :api_gpx_files]
- before_action :api_deny_access_handler
+ before_action :disable_terms_redirect, :only => [:details]
+ before_action :setup_user_auth, :only => [:show, :index]
+ before_action :authorize, :only => [:details, :gpx_files]