- class UsersController < ApplicationController
- layout "site", :except => [:api_details]
-
- skip_before_action :verify_authenticity_token
- before_action :disable_terms_redirect, :only => [:api_details]
- before_action :authorize, :only => [:api_details, :api_gpx_files]
- before_action :api_deny_access_handler
+ class UsersController < ApiController
+ before_action :disable_terms_redirect, :only => [:details]
+ before_action :setup_user_auth, :only => [:show, :index]
+ before_action :authorize, :only => [:details, :gpx_files]