mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
showing year data on school page
This commit is contained in:
parent
c760d1a6a0
commit
a6b306a181
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class SchoolsController < ApplicationController
|
|||
@years = @school_categories.map(&:year).map(&:to_i).sort
|
||||
@year = (params[:year] || @years.first).to_i
|
||||
@years.delete(@year)
|
||||
@school_categories.select { |sc| sc.year.to_i == @year }
|
||||
# @school_categories.select { |sc| sc.year.to_i == @year }
|
||||
end
|
||||
|
||||
def admin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue