vincenttian/61A-Lab-Assistant

View on GitHub
app/controllers/lab_assistants/dashboard_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
module LabAssistants
  class DashboardController < BaseController

    before_filter :authenticate_lab_assistant!

    def show
      @curr_user = current_user
      @lt = LabTime.where(course_id: @curr_user.course_id)
      @preferred_times = current_user.preferred_lab_times
      @checkins = CheckInForm.where(SID: current_user.SID.to_s)
    end

  end
end