module Api
class TracesController < ApiController
- before_action :check_api_readable
before_action :check_api_writable, :only => [:create, :update, :destroy]
before_action :set_locale
before_action :authorize
authorize_resource
before_action :offline_error, :only => [:create, :destroy, :data]
- around_action :api_call_handle_error
+ skip_around_action :api_call_timeout, :only => :create
def show
@trace = Trace.visible.find(params[:id])