Class: CareersController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- CareersController
- Defined in:
- lib/nexmo_developer/app/controllers/careers_controller.rb
Constant Summary
Constants included from ApplicationHelper
Instance Method Summary collapse
Methods inherited from ApplicationController
#authenticate_admin!, #not_found, #redirect_vonage_domain
Methods included from ApplicationHelper
#active_sidenav_item, #canonical_base, #canonical_base_from_config, #canonical_path, #canonical_url, #dashboard_cookie, #search_enabled?, #set_utm_cookie, #theme
Instance Method Details
#index ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/nexmo_developer/app/controllers/careers_controller.rb', line 2 def index @careers_by_department = Greenhouse .careers .each_with_object(Hash.new { |h, k| h[k] = [] }) do |career, hash| career.department_codes.each { |code| hash[code] << career } end end |