aboutsummaryrefslogtreecommitdiff
blob: 433386cd47c5d43c1568e616c49aa77c0174c1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class UsersController < ApplicationController

  hobo_user_controller

  auto_actions :all, :except => [ :index, :new, :create ]
  index_action :ready_recruits
  index_action :mentorless_recruits
  show_action  :questions

  def ready_recruits
    hobo_index User.recruits_answered_all
  end

  def mentorless_recruits
    hobo_index  User.mentorless_recruits
  end

  def questions
    hobo_show do
      @user = this
    end
  end
end