Sha256: ede223096731990d08bf21cd2b5a4564ccbb69ed29b3a5b1a0f192dc1af0953b

Contents?: true

Size: 347 Bytes

Versions: 16

Compression:

Stored size: 347 Bytes

Contents

class Workflow::VacanciesController < ApplicationController
  def open
    @vacancies = Vacancy.where(state: 'open')
  end
  
  def recommended
    @vacancies = Vacancy.where(state: 'recommended') 
  end
  
  def denied
    @vacancies = Vacancy.where(state: 'denied')
  end
  
  def closed
    @vacancies = Vacancy.where(state: 'closed')
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
voluntary_recruiting-0.1.0 app/controllers/workflow/vacancies_controller.rb
voluntary_recruiting-0.0.1 app/controllers/workflow/vacancies_controller.rb
voluntary-0.3.0 app/controllers/workflow/vacancies_controller.rb
voluntary-0.2.4 app/controllers/workflow/vacancies_controller.rb
voluntary-0.2.3 app/controllers/workflow/vacancies_controller.rb
voluntary-0.2.2 app/controllers/workflow/vacancies_controller.rb
voluntary-0.2.1 app/controllers/workflow/vacancies_controller.rb
voluntary-0.2.0 app/controllers/workflow/vacancies_controller.rb
voluntary-0.1.0 app/controllers/workflow/vacancies_controller.rb
voluntary-0.1.0.rc4 app/controllers/workflow/vacancies_controller.rb
voluntary-0.1.0.rc3 app/controllers/workflow/vacancies_controller.rb
voluntary-0.1.0.rc2 app/controllers/workflow/vacancies_controller.rb
voluntary-0.1.0.rc1 app/controllers/workflow/vacancies_controller.rb
voluntary-0.0.3 app/controllers/workflow/vacancies_controller.rb
voluntary-0.0.2 app/controllers/workflow/vacancies_controller.rb
voluntary-0.0.1 app/controllers/workflow/vacancies_controller.rb