Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Educator home page view: Show missing_from_last_export #2548

Merged
merged 2 commits into from Aug 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/controllers/educators_controller.rb
Expand Up @@ -28,9 +28,13 @@ def show
:schoolwide_access,
:districtwide_access,
:grade_level_access,
:missing_from_last_export,
:admin
],
:methods => [:labels],
:methods => [
:active?,
:labels
],
:include => {
:school => { :only => [:id, :name] },
:sections => {
Expand Down
2 changes: 2 additions & 0 deletions spec/controllers/educators_controller_spec.rb
Expand Up @@ -20,6 +20,8 @@ def make_request_for_uri(educator)
"email"=>"uri@demo.studentinsights.org",
"admin"=>true,
"full_name"=>"Disney, Uri",
"active?"=>true,
"missing_from_last_export"=>false,
"staff_type"=>"Administrator",
"schoolwide_access"=>true,
"grade_level_access"=>[],
Expand Down