mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
Completes Sub Categories and Measures for "All " Category Tabs -
Milford High School (Milford District). Add tabs to top navigation [#179727241]
This commit is contained in:
parent
5595af15b6
commit
a406205e20
16 changed files with 106 additions and 17 deletions
|
|
@ -1,8 +1,16 @@
|
|||
class SqmCategoriesController < SqmApplicationController
|
||||
|
||||
def show
|
||||
@categories = SqmCategory.all.order(:sort_index).map do |category|
|
||||
CategoryPresenter.new(
|
||||
category: category,
|
||||
academic_year: academic_year,
|
||||
school: school,
|
||||
)
|
||||
end
|
||||
|
||||
@category = CategoryPresenter.new(
|
||||
category: SqmCategory.find_by_name('Teachers & Leadership'),
|
||||
category: SqmCategory.find_by_slug(params[:id]),
|
||||
academic_year: academic_year,
|
||||
school: school,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue