Class: TbCore::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
ErrorHandling, Redirection, UserAuthentication
Defined in:
app/controllers/tb_core/application_controller.rb

Instance Method Summary collapse

Methods included from UserAuthentication

#check_requires_password_change, #current_user, #current_user_id, #current_user_session, #login_path_for_require_user, #require_admin_user, #require_user, #set_time_zone

Methods included from Redirection

#back_or_default, #redirect_back_or_default

Methods included from ErrorHandling

#class_string, #do_error_response, #handle_record_not_found, #handle_request_error, #handle_unknown_format_error

Instance Method Details

#not_foundObject

Raises:



10
11
12
# File 'app/controllers/tb_core/application_controller.rb', line 10

def not_found
  raise NotFoundError
end