- before_action :check_database_readable, :except => [:show, :data]
- before_action :check_database_writable, :only => [:create, :update, :destroy]
- before_action :check_api_readable, :only => [:show, :data]
- before_action :check_api_writable, :only => [:create, :update, :destroy]
- before_action :offline_redirect, :only => [:create, :destroy, :data]
- around_action :api_call_handle_error
+ before_action :offline_error, :only => [:create, :destroy, :data]
+ skip_around_action :api_call_timeout, :only => :create