mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 01:10:39 -07:00
Don't show scores in production
This commit is contained in:
parent
143e0237e4
commit
f68e8a8c2b
2 changed files with 7 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
class AnalyzeController < SqmApplicationController
|
||||
def index
|
||||
@category ||= Category.find_by_category_id(params[:category])
|
||||
@category ||= Category.first
|
||||
@category ||= Category.order(:category_id).first
|
||||
@categories = Category.all.order(:category_id)
|
||||
|
||||
@subcategories = @category.subcategories.order(:subcategory_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue