Class: JobsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/jobs_controller.rb

Instance Method Summary collapse

Methods included from ApplicationSignInCallbacksConcern

#sign_in

Methods included from ApplicationPaginationConcern

#page_param

Methods included from ApplicationAnnouncementsConcern

#global_announcements, #unread_global_announcements

Methods included from ApplicationInstanceUserConcern

#current_instance_user

Methods included from ApplicationUserTimeZoneConcern

#set_time_zone

Methods included from ApplicationUserConcern

#handle_access_denied

Methods included from ApplicationComponentsConcern

#handle_component_not_found

Instance Method Details

#publicly_accessible?Boolean (protected)


17
18
19
# File 'app/controllers/jobs_controller.rb', line 17

def publicly_accessible?
  true
end

#showObject


5
6
7
8
9
10
11
12
13
# File 'app/controllers/jobs_controller.rb', line 5

def show
  if @job.completed?
    show_completed_job
  elsif @job.errored?
    show_errored_job
  else
    
  end
end